mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-21 14:50:04 +00:00
Remove also the .idx file when cleaning up after PDF export
This commit is contained in:
parent
db5c9d73ec
commit
fdd40ea46f
|
@ -1,5 +1,7 @@
|
|||
2009-11-23 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org-latex.el (org-export-as-pdf): Remove also the .idx file.
|
||||
|
||||
* org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
|
||||
(org-mouse-context-menu): Use `org-looking-back'.
|
||||
|
||||
|
|
|
@ -720,7 +720,7 @@ when PUB-DIR is set, use this as the publishing directory."
|
|||
(error "PDF file was not produced")
|
||||
(set-window-configuration wconfig)
|
||||
(when org-export-pdf-remove-logfiles
|
||||
(dolist (ext '("aux" "log" "out" "toc"))
|
||||
(dolist (ext '("aux" "idx" "log" "out" "toc"))
|
||||
(setq file (concat base "." ext))
|
||||
(and (file-exists-p file) (delete-file file))))
|
||||
(message "Exporting to PDF...done")
|
||||
|
|
Loading…
Reference in a new issue