]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix native-comp of trampolines after previous change
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 28 May 2022 10:31:52 +0000 (12:31 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 28 May 2022 10:32:01 +0000 (12:32 +0200)
* lisp/emacs-lisp/comp.el (comp--native-compile): Don't delete the
explicitly specified output file, just temp files.

lisp/emacs-lisp/comp.el

index 1d870dcae8bea508e01d8043fe932dad5e781c20..53803b38184c1fabf74b45c29b18bd937c9ece22 100644 (file)
@@ -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)))