Reverting "ox-publish: Small refactoring"

Revert "ox-publish: Small refactoring"

This reverts commit 1d6f5b62b8.
This commit is contained in:
Nicolas Goaziou 2013-02-16 20:10:36 +01:00
parent 1d6f5b62b8
commit 3fbdb193b6
1 changed files with 3 additions and 1 deletions

View File

@ -568,7 +568,9 @@ 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 (org-publish-collect-index))))))
plist `(:filter-parse-tree
,(cons 'org-publish-collect-index
(plist-get plist :filter-parse-tree)))))))
;; Remove opened buffer in the process.
(unless visitingp (kill-buffer work-buffer)))))