# HG changeset patch # User Stefan Monnier # Date 1206467407 0 # Node ID 81cc0380dd953a52934a12e7b0c08e8feb0980ba # Parent 5dbe361f12c2412d73e18a3f48d503d09f7f0a4e (Decoding Output): Remove process-filter-multibyte functions. diff -r 5dbe361f12c2 -r 81cc0380dd95 doc/lispref/ChangeLog --- a/doc/lispref/ChangeLog Tue Mar 25 17:35:48 2008 +0000 +++ b/doc/lispref/ChangeLog Tue Mar 25 17:50:07 2008 +0000 @@ -1,3 +1,8 @@ +2008-03-25 Stefan Monnier + + * processes.texi (Decoding Output): Remove process-filter-multibyte + functions. + 2008-03-15 Martin Rudalics * display.texi (Finding Overlays): Say that empty overlays at diff -r 5dbe361f12c2 -r 81cc0380dd95 doc/lispref/processes.texi --- a/doc/lispref/processes.texi Tue Mar 25 17:35:48 2008 +0000 +++ b/doc/lispref/processes.texi Tue Mar 25 17:50:07 2008 +0000 @@ -1297,29 +1297,16 @@ code conversion and the end of line conversion---that is, one like @code{latin-1-unix}, rather than @code{undecided} or @code{latin-1}. +@c Let's keep the index entries that were there for +@c set-process-filter-multibyte and process-filter-multibyte-p, @cindex filter multibyte flag, of process @cindex process filter multibyte flag When Emacs calls a process filter function, it provides the process output as a multibyte string or as a unibyte string according to the -process's filter multibyte flag. If the flag is non-@code{nil}, Emacs -decodes the output according to the process output coding system to -produce a multibyte string, and passes that to the process. If the -flag is @code{nil}, Emacs puts the output into a unibyte string, with -no decoding, and passes that. - - When you create a process, the filter multibyte flag takes its -initial value from @code{default-enable-multibyte-characters}. If you -want to change the flag later on, use -@code{set-process-filter-multibyte}. - -@defun set-process-filter-multibyte process multibyte -This function sets the filter multibyte flag of @var{process} -to @var{multibyte}. -@end defun - -@defun process-filter-multibyte-p process -This function returns the filter multibyte flag of @var{process}. -@end defun +process's filter coding system. Emacs +decodes the output according to the process output coding system, +which usually produces a multibyte string, except for coding systems +such as @code{binary} and @code{raw-text} @node Accepting Output @subsection Accepting Output from Processes diff -r 5dbe361f12c2 -r 81cc0380dd95 etc/NEWS --- a/etc/NEWS Tue Mar 25 17:35:48 2008 +0000 +++ b/etc/NEWS Tue Mar 25 17:50:07 2008 +0000 @@ -600,6 +600,10 @@ * Incompatible Lisp Changes in Emacs 23.1 +** The multibyteness of process filters is determined by the coding-system +used for decoding. The functions `process-filter-multibyte-p' and +`set-process-filter-multibyte' are obsolete. + ** The behavior of map-char-table has changed. It may call the specified function with a cons (FROM . TO) as a key if characters in that range have the same value.