# HG changeset patch # User Richard M. Stallman # Date 1018205886 0 # Node ID 7e1a0877a1216fc94440279c2949d4e6779204a2 # Parent 4127620c27842b43fe1745693853b8328ab5cd97 Explain that sentinels cannot run recursively. diff -r 4127620c2784 -r 7e1a0877a121 lispref/processes.texi --- 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