]> git.eshelyaron.com Git - emacs.git/commitdiff
(Decoding Output): Remove process-filter-multibyte functions.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 25 Mar 2008 17:50:07 +0000 (17:50 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 25 Mar 2008 17:50:07 +0000 (17:50 +0000)
doc/lispref/ChangeLog
doc/lispref/processes.texi
etc/NEWS

index 87060578e9b98fa0de2320d88358fd678ee9fe24..d973a4fe9489eb59a68e72163b966e1b9f35a5ca 100644 (file)
@@ -1,3 +1,8 @@
+2008-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * processes.texi (Decoding Output): Remove process-filter-multibyte
+       functions.
+
 2008-03-15  Martin Rudalics  <rudalics@gmx.at>
 
        * display.texi (Finding Overlays): Say that empty overlays at
index e7b1699ef27444d32186d0440b662efa2c54de19..b26c69741b04db9d9cf722696c6f9d0ac8e11372 100644 (file)
@@ -1297,29 +1297,16 @@ possible, specify a coding system that determines both the character
 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
index fbec1b7b5a51092de270c6041a67b9947bfda80a..41bf517b960bdfb23ef0529cb90826a579e080c7 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -600,6 +600,10 @@ for the list of extra keys that are available.
 \f
 * 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.