summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-05-28 12:31:52 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-05-28 12:32:01 +0200
commit9707613ddb6bc31ed56203728f28978b36e16630 (patch)
tree033bb7acd02b9b7b0ac0cee73eb1c131eacc586e /lisp/emacs-lisp
parentb8a204e81e358a873ef7a9652c2d97b1045be2ae (diff)
downloademacs-9707613ddb6bc31ed56203728f28978b36e16630.tar.gz
emacs-9707613ddb6bc31ed56203728f28978b36e16630.tar.bz2
emacs-9707613ddb6bc31ed56203728f28978b36e16630.zip
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.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/comp.el1
1 files changed, 1 insertions, 0 deletions
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)))