emacs-diffs
[Top][All Lists]
Advanced

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

master 9707613ddb: Fix native-comp of trampolines after previous change


From: Lars Ingebrigtsen
Subject: master 9707613ddb: Fix native-comp of trampolines after previous change
Date: Sat, 28 May 2022 06:32:07 -0400 (EDT)

branch: master
commit 9707613ddb6bc31ed56203728f28978b36e16630
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix native-comp of trampolines after previous change
    
    * lisp/emacs-lisp/comp.el (comp--native-compile): Don't delete the
    explicitly specified output file, just temp files.
---
 lisp/emacs-lisp/comp.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index 1d870dcae8..53803b3818 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -4088,6 +4088,7 @@ the deferred compilation mechanism."
         ;; called with something other than a file as the argument.
         ;; Delete it.
         (when (and (not (stringp function-or-file))
+                   (not output)
                    comp-ctxt
                    (comp-ctxt-output comp-ctxt)
                    (file-exists-p (comp-ctxt-output comp-ctxt)))



reply via email to

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