diff options
Diffstat (limited to 'doc/lispref')
| -rw-r--r-- | doc/lispref/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/lispref/processes.texi | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 9d15f65480c..0475635e958 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * processes.texi (Filter Functions, Sentinels): Advertise add-function. | ||
| 4 | |||
| 1 | 2014-04-29 Stefan Monnier <monnier@iro.umontreal.ca> | 5 | 2014-04-29 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 6 | ||
| 3 | * windows.texi (Window Configurations, Window Configurations): | 7 | * windows.texi (Window Configurations, Window Configurations): |
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index ad62b4fff63..c91afdffdeb 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi | |||
| @@ -1364,6 +1364,10 @@ which inserts the process output into the process buffer. | |||
| 1364 | This function returns the filter function of @var{process}. | 1364 | This function returns the filter function of @var{process}. |
| 1365 | @end defun | 1365 | @end defun |
| 1366 | 1366 | ||
| 1367 | In case the process's output needs to be passed to several filters, you can | ||
| 1368 | use @code{add-function} to combine an existing filter with a new one. | ||
| 1369 | @xref{Advising Functions}. | ||
| 1370 | |||
| 1367 | Here is an example of the use of a filter function: | 1371 | Here is an example of the use of a filter function: |
| 1368 | 1372 | ||
| 1369 | @smallexample | 1373 | @smallexample |
| @@ -1617,6 +1621,10 @@ sentinel, the eventual call to the sentinel will use the new one. | |||
| 1617 | This function returns the sentinel of @var{process}. | 1621 | This function returns the sentinel of @var{process}. |
| 1618 | @end defun | 1622 | @end defun |
| 1619 | 1623 | ||
| 1624 | In case a process status changes need to be passed to several sentinels, you | ||
| 1625 | can use @code{add-function} to combine an existing sentinel with a new one. | ||
| 1626 | @xref{Advising Functions}. | ||
| 1627 | |||
| 1620 | @defun waiting-for-user-input-p | 1628 | @defun waiting-for-user-input-p |
| 1621 | While a sentinel or filter function is running, this function returns | 1629 | While a sentinel or filter function is running, this function returns |
| 1622 | non-@code{nil} if Emacs was waiting for keyboard input from the user at | 1630 | non-@code{nil} if Emacs was waiting for keyboard input from the user at |