0
0
Fork 1
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:
Carsten Dominik 2009-11-23 14:49:49 +01:00
parent db5c9d73ec
commit fdd40ea46f
2 changed files with 3 additions and 1 deletions

View file

@ -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'.

View file

@ -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")