소스 검색

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 9 년 전
부모
커밋
2e35a59763
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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))