From 1d6f5b62b8af3d178c7fd041e0def8cba1e52498 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 16 Feb 2013 18:49:07 +0100 Subject: [PATCH] ox-publish: Small refactoring * lisp/ox-publish.el (org-publish-org-to): Small refactoring. --- lisp/ox-publish.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lisp/ox-publish.el b/lisp/ox-publish.el index 0dda6498c..87253a5b3 100644 --- a/lisp/ox-publish.el +++ b/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)))))