diff options
| author | Richard M. Stallman | 2002-04-07 18:58:06 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-04-07 18:58:06 +0000 |
| commit | 8a56d8ed331be880a2f7be05b15886bd7acb269d (patch) | |
| tree | 584ffbdd4aff77347e6e0d7342cf71e07258573d | |
| parent | 39296e3af82fef4a3d06b2b3e91bacd46a0593d8 (diff) | |
| download | emacs-8a56d8ed331be880a2f7be05b15886bd7acb269d.tar.gz emacs-8a56d8ed331be880a2f7be05b15886bd7acb269d.zip | |
Explain that sentinels cannot run recursively.
| -rw-r--r-- | lispref/processes.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lispref/processes.texi b/lispref/processes.texi index 81023719429..0b5786f2cd8 100644 --- a/lispref/processes.texi +++ b/lispref/processes.texi | |||
| @@ -1297,6 +1297,11 @@ programs was running when the sentinel was started. However, if | |||
| 1297 | off. This makes it possible to use the Lisp debugger to debug the | 1297 | off. This makes it possible to use the Lisp debugger to debug the |
| 1298 | sentinel. @xref{Debugger}. | 1298 | sentinel. @xref{Debugger}. |
| 1299 | 1299 | ||
| 1300 | While a sentinel is running, the process sentinel is temporarily | ||
| 1301 | set to @code{nil} so that the sentinel won't run recursively. | ||
| 1302 | For this reason it is not possible for a sentinel to specify | ||
| 1303 | a new sentinel. | ||
| 1304 | |||
| 1300 | In earlier Emacs versions, every sentinel that did regular expression | 1305 | In earlier Emacs versions, every sentinel that did regular expression |
| 1301 | searching or matching had to explicitly save and restore the match data. | 1306 | searching or matching had to explicitly save and restore the match data. |
| 1302 | Now Emacs does this automatically for sentinels; they never need to do | 1307 | Now Emacs does this automatically for sentinels; they never need to do |