From: Lars Ingebrigtsen Date: Sat, 28 May 2022 10:31:52 +0000 (+0200) Subject: Fix native-comp of trampolines after previous change X-Git-Tag: emacs-29.0.90~1910^2~368 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9707613ddb6bc31ed56203728f28978b36e16630;p=emacs.git 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. --- diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 1d870dcae8b..53803b38184 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)))