ox-publish: Small refactoring

* lisp/ox-publish.el (org-publish-org-to): Small refactoring.
This commit is contained in:
Nicolas Goaziou 2013-02-16 18:49:07 +01:00
parent 8858e1ffef
commit 1d6f5b62b8
1 changed files with 1 additions and 3 deletions

View File

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