From: Lars Ingebrigtsen Date: Sun, 24 Oct 2021 23:25:13 +0000 (+0200) Subject: Fix flymake example backend conditions in the manual X-Git-Tag: emacs-28.0.90~184 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f5b4bb4a6f;p=emacs.git Fix flymake example backend conditions in the manual * doc/misc/flymake.texi (An annotated example backend): Also react to `signal' process statuses (bug#51380). --- diff --git a/doc/misc/flymake.texi b/doc/misc/flymake.texi index cfe73439f3b..309bed77609 100644 --- a/doc/misc/flymake.texi +++ b/doc/misc/flymake.texi @@ -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