From 8e524f459149dfd83e2205d24c174074b10d5c6a Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Wed, 31 Mar 2021 20:29:32 +0200 Subject: [PATCH] * 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 59e9dbc0138..213eb7b4126 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)))))))) -- 2.39.5