emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/native-comp 8e524f4: * lisp/emacs-lisp/comp.el (comp-final): Cle


From: Andrea Corallo
Subject: feature/native-comp 8e524f4: * lisp/emacs-lisp/comp.el (comp-final): Clean-up temporary file.
Date: Wed, 31 Mar 2021 14:52:06 -0400 (EDT)

branch: feature/native-comp
commit 8e524f459149dfd83e2205d24c174074b10d5c6a
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>

    * lisp/emacs-lisp/comp.el (comp-final): Clean-up temporary file.
---
 lisp/emacs-lisp/comp.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index 59e9dbc..213eb7b 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -3666,7 +3666,9 @@ Prepare every function for final compilation and drive 
the C back-end."
                    (call-process (expand-file-name invocation-name
                                                    invocation-directory)
                                 nil t t "--batch" "-l" temp-file))
-                  output
+                  (progn
+                    (delete-file temp-file)
+                    output)
                (signal 'native-compiler-error (buffer-string)))
             (comp-log-to-buffer (buffer-string))))))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]