]> git.eshelyaron.com Git - emacs.git/commitdiff
Make elisp-flymake-byte-compile clean up on failures
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 23 Apr 2022 12:52:45 +0000 (14:52 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 23 Apr 2022 12:52:45 +0000 (14:52 +0200)
* lisp/progmodes/elisp-mode.el (elisp-flymake-byte-compile): Clean
up no matter what the exit status of the process is (bug#55056).

lisp/progmodes/elisp-mode.el

index 8cae680634fae0e5b744c9e5844d59654cef2a90..33f69024919396b846591e81eb7b46329124e931 100644 (file)
@@ -2083,7 +2083,7 @@ current buffer state and calls REPORT-FN when done."
         :connection-type 'pipe
         :sentinel
         (lambda (proc _event)
-          (when (eq (process-status proc) 'exit)
+          (unless (process-live-p proc)
             (unwind-protect
                 (cond
                  ((not (and (buffer-live-p source-buffer)