aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorKim F. Storm2003-01-16 12:59:18 +0000
committerKim F. Storm2003-01-16 12:59:18 +0000
commit3452df9e69e96dda18f990c57572b312c56f492d (patch)
tree43668398edbec3028eabc523a7c33aa96cce1bbb /src/process.c
parentcd7df9c00b80775143ab73a8da613ff466a6444c (diff)
downloademacs-3452df9e69e96dda18f990c57572b312c56f492d.tar.gz
emacs-3452df9e69e96dda18f990c57572b312c56f492d.zip
(set-process-filter): Document unibyte/multibyte-ness of string argument.
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{