From 72a4cdaadcf388f5a870a70a208ad7f04bf35d16 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Mon, 24 Jan 2022 15:29:38 +0100 Subject: [PATCH] * lisp/emacs-lisp/comp.el (batch-byte+native-compile): Fix unwind form --- lisp/emacs-lisp/comp.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 3c61063a3cb..71914b2f2b7 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -4217,8 +4217,8 @@ variable 'NATIVE_DISABLED' is set, only byte compile." (pcase byte-to-native-output-buffer-file (`(,temp-buffer . ,target-file) (unwind-protect - (byte-write-target-file temp-buffer target-file)) - (kill-buffer temp-buffer))) + (byte-write-target-file temp-buffer target-file) + (kill-buffer temp-buffer)))) (setq command-line-args-left (cdr command-line-args-left))))) ;;;###autoload -- 2.39.2