Commit adf6b7f9 authored by Karl Heuer's avatar Karl Heuer
Browse files

(tex-delete-last-temp-files): Don't fail on non-existent directory.

parent f1812d0a
......@@ -884,9 +884,10 @@ evaluates to a command string."
If NOT-ALL is non-nil, save the `.dvi' file."
(if tex-last-temp-file
(let* ((dir (file-name-directory tex-last-temp-file))
(list (file-name-all-completions
(file-name-nondirectory tex-last-temp-file) dir)))
(while list
(list (and (file-directory-p dir)
(file-name-all-completions
(file-name-nondirectory tex-last-temp-file) dir))))
(while list
(if not-all
(and
;; If arg is non-nil, don't delete the .dvi file.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment