emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 72a4cdaadc 1/2: * lisp/emacs-lisp/comp.el (batch-byte+native-comp


From: Andrea Corallo
Subject: master 72a4cdaadc 1/2: * lisp/emacs-lisp/comp.el (batch-byte+native-compile): Fix unwind form
Date: Tue, 25 Jan 2022 11:50:54 -0500 (EST)

branch: master
commit 72a4cdaadcf388f5a870a70a208ad7f04bf35d16
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>

    * 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 3c61063a3c..71914b2f2b 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]