aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2021-10-25 01:25:13 +0200
committerLars Ingebrigtsen2021-10-25 01:25:20 +0200
commitf5b4bb4a6fa3adcb653cab5dc760745b896320bb (patch)
treea0eace56cf3b2f7fa1b688faed656e0a2143431f
parent0771d8939adaacf0b9b41150be9c53e6b9519b04 (diff)
downloademacs-f5b4bb4a6fa3adcb653cab5dc760745b896320bb.tar.gz
emacs-f5b4bb4a6fa3adcb653cab5dc760745b896320bb.zip
Fix flymake example backend conditions in the manual
* doc/misc/flymake.texi (An annotated example backend): Also react to `signal' process statuses (bug#51380).
-rw-r--r--doc/misc/flymake.texi2
1 files changed, 1 insertions, 1 deletions
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.
774 ;; Check that the process has indeed exited, as it might 774 ;; Check that the process has indeed exited, as it might
775 ;; be simply suspended. 775 ;; be simply suspended.
776 ;; 776 ;;
777 (when (eq 'exit (process-status proc)) 777 (when (memq (process-status proc) '(exit signal))
778 (unwind-protect 778 (unwind-protect
779 ;; Only proceed if `proc' is the same as 779 ;; Only proceed if `proc' is the same as
780 ;; `ruby--flymake-proc', which indicates that 780 ;; `ruby--flymake-proc', which indicates that