]> git.eshelyaron.com Git - emacs.git/commitdiff
* doc/lispref/processes.texi (Filter Functions, Sentinels):
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 29 Apr 2014 04:14:27 +0000 (00:14 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 29 Apr 2014 04:14:27 +0000 (00:14 -0400)
Advertise add-function.

doc/lispref/ChangeLog
doc/lispref/processes.texi

index f538b960b509cef61d978b53628216097db17831..57eb1bf074d97f01c21dded0f7609665d98c9328 100644 (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>
 
index ad62b4fff6341d3db87df5b5b84105fce9963127..c91afdffdebd1085d266d69d719f9440771c3ece 100644 (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