瀏覽代碼

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)))))