]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix flymake example backend conditions in the manual
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 24 Oct 2021 23:25:13 +0000 (01:25 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 24 Oct 2021 23:25:20 +0000 (01:25 +0200)
* doc/misc/flymake.texi (An annotated example backend): Also react
to `signal' process statuses (bug#51380).

doc/misc/flymake.texi

index cfe73439f3bdf3514af661dcfadf6b2bcd6b4f4a..309bed77609e6ad33a45aaedd8ca740d58c617f3 100644 (file)
@@ -774,7 +774,7 @@ Binding,,, elisp, The Emacs Lisp Reference Manual}) to be active.
           ;; Check that the process has indeed exited, as it might
           ;; be simply suspended.
           ;;
-          (when (eq 'exit (process-status proc))
+          (when (memq (process-status proc) '(exit signal))
             (unwind-protect
                 ;; Only proceed if `proc' is the same as
                 ;; `ruby--flymake-proc', which indicates that