ox-publish: Small refactoring
* lisp/ox-publish.el (org-publish-org-to): Small refactoring.
This commit is contained in:
parent
8858e1ffef
commit
1d6f5b62b8
|
@ -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)))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue