diff options
| author | Juanma Barranquero | 2014-04-30 21:54:52 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2014-04-30 21:54:52 +0200 |
| commit | 09b911adf4e22bbcac8c588bc14ade801276732e (patch) | |
| tree | 0d9eb9708479bb491d7e1e2bb030aa3e90299526 /doc/lispref | |
| parent | b0e36b7048c88aa24f6955c53fbe790bb9ebc54f (diff) | |
| parent | 426b5dafdd837328d624a8ec5bfd567f2865c9f5 (diff) | |
| download | emacs-09b911adf4e22bbcac8c588bc14ade801276732e.tar.gz emacs-09b911adf4e22bbcac8c588bc14ade801276732e.zip | |
Merge from emacs-24; up to 2014-05-01T10:21:17Z!rgm@gnu.org
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 |