emacs-diffs
[Top][All Lists]
Advanced

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

master 5bc5e56576 3/3: Make elisp-flymake-byte-compile clean up on failu


From: Lars Ingebrigtsen
Subject: master 5bc5e56576 3/3: Make elisp-flymake-byte-compile clean up on failures
Date: Sat, 23 Apr 2022 08:52:59 -0400 (EDT)

branch: master
commit 5bc5e565761fe40941ecc76ee6c28f01387f0980
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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).
---
 lisp/progmodes/elisp-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el
index 8cae680634..33f6902491 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)



reply via email to

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