* doc/lispref/processes.texi (Filter Functions, Sentinels):

Advertise add-function.
This commit is contained in:
Stefan Monnier 2014-04-29 00:14:27 -04:00
parent 2cfb51ef2a
commit 2785da249b
2 changed files with 14 additions and 3 deletions

View file

@ -1,8 +1,11 @@
2014-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
* processes.texi (Filter Functions, Sentinels): Advertise add-function.
2014-04-24 Eli Zaretskii <eliz@gnu.org>
* strings.texi (Text Comparison): Mention
equal-including-properties for when text properties of the strings
matter for comparison.
* strings.texi (Text Comparison): Mention equal-including-properties
for when text properties of the strings matter for comparison.
2014-04-21 Eli Zaretskii <eliz@gnu.org>

View file

@ -1364,6 +1364,10 @@ which inserts the process output into the process buffer.
This function returns the filter function of @var{process}.
@end defun
In case the process's output needs to be passed to several filters, you can
use @code{add-function} to combine an existing filter with a new one.
@xref{Advising Functions}.
Here is an example of the use of a filter function:
@smallexample
@ -1617,6 +1621,10 @@ sentinel, the eventual call to the sentinel will use the new one.
This function returns the sentinel of @var{process}.
@end defun
In case a process status changes need to be passed to several sentinels, you
can use @code{add-function} to combine an existing sentinel with a new one.
@xref{Advising Functions}.
@defun waiting-for-user-input-p
While a sentinel or filter function is running, this function returns
non-@code{nil} if Emacs was waiting for keyboard input from the user at