]> git.eshelyaron.com Git - emacs.git/commitdiff
Explain that sentinels cannot run recursively.
authorRichard M. Stallman <rms@gnu.org>
Sun, 7 Apr 2002 18:58:06 +0000 (18:58 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 7 Apr 2002 18:58:06 +0000 (18:58 +0000)
lispref/processes.texi

index 81023719429ae5031319e03970162c26fc8900c2..0b5786f2cd811b892eae25d12e9566182279b858 100644 (file)
@@ -1297,6 +1297,11 @@ programs was running when the sentinel was started.  However, if
 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