Browse Source

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>
Nicolas Goaziou 1 year ago
parent
commit
2e35a59763
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ox-latex.el

+ 1 - 1
lisp/ox-latex.el

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