Nicolas Goaziou преди 9 години
родител
ревизия
52387021dc
променени са 1 файла, в които са добавени 1 реда и са изтрити 4 реда
  1. 1 4
      lisp/ox-latex.el

+ 1 - 4
lisp/ox-latex.el

@@ -3611,10 +3611,7 @@ produced."
       (when org-latex-remove-logfiles
 	(mapc #'delete-file
 	      (directory-files
-	       ;; Assume auxiliary files are created in current
-	       ;; directory instead of ".tex" file directory, which
-	       ;; may differ.
-	       default-directory
+	       (file-name-directory outfile)
 	       nil
 	       (concat (regexp-quote (file-name-base outfile))
 		       "\\(?:\\.[0-9]+\\)?\\."