From: Stefan Monnier Date: Tue, 29 Apr 2014 04:14:27 +0000 (-0400) Subject: * doc/lispref/processes.texi (Filter Functions, Sentinels): X-Git-Tag: emacs-24.3.91~81 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2785da249bd881dae503507d22e3ce6f158e519a;p=emacs.git * doc/lispref/processes.texi (Filter Functions, Sentinels): Advertise add-function. --- diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index f538b960b50..57eb1bf074d 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,8 +1,11 @@ +2014-04-29 Stefan Monnier + + * processes.texi (Filter Functions, Sentinels): Advertise add-function. + 2014-04-24 Eli Zaretskii - * 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 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. 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