changeset 44428:7e1a0877a121

Explain that sentinels cannot run recursively.
author Richard M. Stallman <rms@gnu.org>
date Sun, 07 Apr 2002 18:58:06 +0000
parents 4127620c2784
children 58d8979703be
files lispref/processes.texi
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/processes.texi	Sun Apr 07 18:56:34 2002 +0000
+++ b/lispref/processes.texi	Sun Apr 07 18:58:06 2002 +0000
@@ -1297,6 +1297,11 @@
 off.  This makes it possible to use the Lisp debugger to debug the
 sentinel.  @xref{Debugger}.
 
+  While a sentinel is running, the process sentinel is temporarily
+set to @code{nil} so that the sentinel won't run recursively.
+For this reason it is not possible for a sentinel to specify
+a new sentinel.
+
   In earlier Emacs versions, every sentinel that did regular expression
 searching or matching had to explicitly save and restore the match data.
 Now Emacs does this automatically for sentinels; they never need to do