From: Lars Ingebrigtsen Date: Sat, 23 Apr 2022 12:52:45 +0000 (+0200) Subject: Make elisp-flymake-byte-compile clean up on failures X-Git-Tag: emacs-29.0.90~1931^2~347 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5bc5e565761fe40941ecc76ee6c28f01387f0980;p=emacs.git Make elisp-flymake-byte-compile clean up on failures * lisp/progmodes/elisp-mode.el (elisp-flymake-byte-compile): Clean up no matter what the exit status of the process is (bug#55056). --- diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index 8cae680634f..33f69024919 100644 --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el @@ -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)