diff options
| -rw-r--r-- | lispref/processes.texi | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lispref/processes.texi b/lispref/processes.texi index 2758cd70e8a..e71d7efeaaf 100644 --- a/lispref/processes.texi +++ b/lispref/processes.texi | |||
| @@ -892,10 +892,10 @@ text arrives, insert the following line just before the | |||
| 892 | it was previously, eliminate the variable @code{moving} and call | 892 | it was previously, eliminate the variable @code{moving} and call |
| 893 | @code{goto-char} unconditionally. | 893 | @code{goto-char} unconditionally. |
| 894 | 894 | ||
| 895 | All filter functions that do regexp searching or matching should save | 895 | In earlier Emacs versions, every filter function that did regexp |
| 896 | and restore the match data. Otherwise, a filter function that runs | 896 | searching or matching had to explicitly save and restore the match data. |
| 897 | during a call to @code{sit-for} might clobber the match data of the | 897 | Now Emacs does this automatically; filter functions never need to do it |
| 898 | program that called @code{sit-for}. @xref{Match Data}. | 898 | explicitly. @xref{Match Data}. |
| 899 | 899 | ||
| 900 | A filter function that writes the output into the buffer of the | 900 | A filter function that writes the output into the buffer of the |
| 901 | process should check whether the process is still alive. If it tries to | 901 | process should check whether the process is still alive. If it tries to |
| @@ -1052,10 +1052,10 @@ should check whether the process is still alive. If it tries to insert | |||
| 1052 | into a dead buffer, it will get an error. If the buffer is dead, | 1052 | into a dead buffer, it will get an error. If the buffer is dead, |
| 1053 | @code{(buffer-name (process-buffer @var{process}))} returns @code{nil}. | 1053 | @code{(buffer-name (process-buffer @var{process}))} returns @code{nil}. |
| 1054 | 1054 | ||
| 1055 | All sentinels that do regexp searching or matching should save and | 1055 | In earlier Emacs versions, every sentinel that did regexp searching or |
| 1056 | restore the match data. Otherwise, a sentinel that runs during a call | 1056 | matching had to explicitly save and restore the match data. Now Emacs |
| 1057 | to @code{sit-for} might clobber the match data of the program that | 1057 | does this automatically; sentinels never need to do it explicitly. |
| 1058 | called @code{sit-for}. @xref{Match Data}. | 1058 | @xref{Match Data}. |
| 1059 | 1059 | ||
| 1060 | @defun set-process-sentinel process sentinel | 1060 | @defun set-process-sentinel process sentinel |
| 1061 | This function associates @var{sentinel} with @var{process}. If | 1061 | This function associates @var{sentinel} with @var{process}. If |