Fix flymake example backend conditions in the manual

* doc/misc/flymake.texi (An annotated example backend): Also react
to `signal' process statuses (bug#51380).
This commit is contained in:
Lars Ingebrigtsen 2021-10-25 01:25:13 +02:00
parent 0771d8939a
commit f5b4bb4a6f

View 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