From bbac7354af6c0c3af717be98bee4d9f1238094c2 Mon Sep 17 00:00:00 2001 From: Spencer Baugh Date: Wed, 26 Apr 2023 18:03:15 -0400 Subject: [PATCH] Note that Emacs pauses when handling sentinel errors Noting this behavior and variable here makes it easier to understand the behavior of Emacs when a sentinel has an error. * doc/lispref/processes.texi (Sentinels): Note that Emacs pauses when handling sentinel errors. --- doc/lispref/processes.texi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index 50e67475d8e..39d1ee64e43 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi @@ -2159,7 +2159,9 @@ Sentinels programs was running when the sentinel was started. However, if @code{debug-on-error} is non-@code{nil}, errors are not caught. This makes it possible to use the Lisp debugger to debug the -sentinel. @xref{Debugger}. +sentinel. @xref{Debugger}. Additionally, Emacs pauses for +@var{process-error-pause-time} seconds so that the user sees the +error. @xref{Asynchronous Processes} While a sentinel is running, the process sentinel is temporarily set to @code{nil} so that the sentinel won't run recursively. -- 2.30.2