PDF export: Don't explicitly remove the old PDF file, just overwrite
Patch by Francesco Pizzolante
This commit is contained in:
parent
fdd40ea46f
commit
d980be6d8b
|
@ -1,6 +1,8 @@
|
|||
2009-11-23 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org-latex.el (org-export-as-pdf): Remove also the .idx file.
|
||||
(org-export-as-pdf): Don't remove the old PDF file before making
|
||||
the new one.
|
||||
|
||||
* org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
|
||||
(org-mouse-context-menu): Use `org-looking-back'.
|
||||
|
|
|
@ -698,7 +698,6 @@ when PUB-DIR is set, use this as the publishing directory."
|
|||
(re-search-forward "\\\\bibliography{" nil t))))
|
||||
cmd)
|
||||
(with-current-buffer outbuf (erase-buffer))
|
||||
(and (file-exists-p pdffile) (delete-file pdffile))
|
||||
(message "Processing LaTeX file...")
|
||||
(if (and cmds (symbolp cmds))
|
||||
(funcall cmds file)
|
||||
|
|
Loading…
Reference in New Issue