* lisp/emacs-lisp/comp.el (batch-byte+native-compile): Fix unwind form

This commit is contained in:
Andrea Corallo 2022-01-24 15:29:38 +01:00
parent e8c66036d1
commit 72a4cdaadc

View file

@ -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