aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSpencer Baugh2023-05-02 11:37:48 -0400
committerEli Zaretskii2023-05-02 20:50:16 +0300
commitfceaf230b063a0df9fb79cd5159cac4a761aba87 (patch)
tree22c617e7a333db8b655c624af37cb8d840243291
parent46392c1623bc3f9764b8c7df293a89fcd47ab0ad (diff)
downloademacs-fceaf230b063a0df9fb79cd5159cac4a761aba87.tar.gz
emacs-fceaf230b063a0df9fb79cd5159cac4a761aba87.zip
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 (Filter Functions): Note that Emacs pauses when handling sentinel errors. (Sentinels): Note that Emacs pauses when handling sentinel errors. (Bug#63096)
-rw-r--r--doc/lispref/processes.texi8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi
index 50e67475d8e..c901215d35d 100644
--- a/doc/lispref/processes.texi
+++ b/doc/lispref/processes.texi
@@ -1755,7 +1755,9 @@ caught automatically, so that it doesn't stop the execution of whatever
1755program was running when the filter function was started. However, if 1755program was running when the filter function was started. However, if
1756@code{debug-on-error} is non-@code{nil}, errors are not caught. 1756@code{debug-on-error} is non-@code{nil}, errors are not caught.
1757This makes it possible to use the Lisp debugger to debug filter 1757This makes it possible to use the Lisp debugger to debug filter
1758functions. @xref{Debugger}. 1758functions. @xref{Debugger}. If an error is caught, Emacs pauses for
1759@code{process-error-pause-time} seconds so that the user sees the
1760error. @xref{Asynchronous Processes}
1759 1761
1760 Many filter functions sometimes (or always) insert the output in the 1762 Many filter functions sometimes (or always) insert the output in the
1761process's buffer, mimicking the actions of the default filter. 1763process's buffer, mimicking the actions of the default filter.
@@ -2159,7 +2161,9 @@ automatically, so that it doesn't stop the execution of whatever
2159programs was running when the sentinel was started. However, if 2161programs was running when the sentinel was started. However, if
2160@code{debug-on-error} is non-@code{nil}, errors are not caught. 2162@code{debug-on-error} is non-@code{nil}, errors are not caught.
2161This makes it possible to use the Lisp debugger to debug the 2163This makes it possible to use the Lisp debugger to debug the
2162sentinel. @xref{Debugger}. 2164sentinel. @xref{Debugger}. If an error is caught, Emacs pauses for
2165@code{process-error-pause-time} seconds so that the user sees the
2166error. @xref{Asynchronous Processes}
2163 2167
2164 While a sentinel is running, the process sentinel is temporarily 2168 While a sentinel is running, the process sentinel is temporarily
2165set to @code{nil} so that the sentinel won't run recursively. 2169set to @code{nil} so that the sentinel won't run recursively.