소스 검색

ox-publish: Small refactoring

* lisp/ox-publish.el (org-publish-org-to): Small refactoring.
Nicolas Goaziou 12 년 전
부모
커밋
1d6f5b62b8
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      lisp/ox-publish.el

+ 1 - 3
lisp/ox-publish.el

@@ -568,9 +568,7 @@ Return output file name."
 		;; filters.  It isn't dependent on `:makeindex', since
 		;; we want to keep it up-to-date in cache anyway.
 		(org-combine-plists
-		 plist `(:filter-parse-tree
-			 ,(cons 'org-publish-collect-index
-				(plist-get plist :filter-parse-tree)))))))
+		 plist '(:filter-parse-tree (org-publish-collect-index))))))
       ;; Remove opened buffer in the process.
       (unless visitingp (kill-buffer work-buffer)))))