From 9707613ddb6bc31ed56203728f28978b36e16630 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 28 May 2022 12:31:52 +0200 Subject: [PATCH] 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 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))) -- 2.39.2