ox-latex: Fix error when compiling in a different than source file

* lisp/ox-latex.el (org-latex-compile): List logfiles with their full
  name instead of relative ones.

Reported-by: Éric Würbel <eric.wurbel@univ-amu.fr>
<http://permalink.gmane.org/gmane.emacs.orgmode/110402>
This commit is contained in:
Nicolas Goaziou 2016-11-25 10:25:35 +01:00
parent 26828778c6
commit 2e35a59763
1 changed files with 1 additions and 1 deletions

View File

@ -3613,7 +3613,7 @@ produced."
(mapc #'delete-file
(directory-files
(file-name-directory outfile)
nil
t
(concat (regexp-quote (file-name-base outfile))
"\\(?:\\.[0-9]+\\)?\\."
(regexp-opt org-latex-logfiles-extensions))