From 2785da249bd881dae503507d22e3ce6f158e519a Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 29 Apr 2014 00:14:27 -0400 Subject: [PATCH] * doc/lispref/processes.texi (Filter Functions, Sentinels): Advertise add-function. --- doc/lispref/ChangeLog | 9 ++++++--- doc/lispref/processes.texi | 8 ++++++++ 2 files changed, 14 insertions(+), 3 deletions(-) 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 -- 2.39.5