aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/process.c b/src/process.c
index e90382b08b1..1998e845421 100644
--- a/src/process.c
+++ b/src/process.c
@@ -844,10 +844,18 @@ DEFUN ("set-process-filter", Fset_process_filter, Sset_process_filter,
844 2, 2, 0, 844 2, 2, 0,
845 doc: /* Give PROCESS the filter function FILTER; nil means no filter. 845 doc: /* Give PROCESS the filter function FILTER; nil means no filter.
846t means stop accepting output from the process. 846t means stop accepting output from the process.
847When a process has a filter, each time it does output 847
848the entire string of output is passed to the filter. 848When a process has a filter, its buffer is not used for output.
849Instead, each time it does output, the entire string of output is
850passed to the filter.
851
849The filter gets two arguments: the process and the string of output. 852The filter gets two arguments: the process and the string of output.
850If the process has a filter, its buffer is not used for output. */) 853The string argument is normally a multibyte string, except:
854- if the process' input coding system is no-conversion or raw-text,
855 it is a unibyte string (the non-converted input), or else
856- if `default-enable-multibyte-characters' is nil, it is a unibyte
857 string (the result of converting the decoded input multibyte
858 string to unibyte with `string-make-unibyte'). */)
851 (process, filter) 859 (process, filter)
852 register Lisp_Object process, filter; 860 register Lisp_Object process, filter;
853{ 861{