From 2e35a59763efc5324874ec1a894691fe2123495c Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 25 Nov 2016 10:25:35 +0100 Subject: [PATCH] ox-latex: Fix error when compiling in a different than source file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * lisp/ox-latex.el (org-latex-compile): List logfiles with their full name instead of relative ones. Reported-by: Éric Würbel --- lisp/ox-latex.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index 89faa4ec2..39364c49f 100644 --- a/lisp/ox-latex.el +++ b/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))