changeset 24933:b43a8099ffb7

(create_process): If the output goes to a unibyte buffer, suppress character code conversion.p
author Richard M. Stallman <rms@gnu.org>
date Wed, 07 Jul 1999 22:50:13 +0000
parents 27a1d7a4c444
children f5e3b4ecd255
files src/process.c
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Wed Jul 07 22:49:31 1999 +0000
+++ b/src/process.c	Wed Jul 07 22:50:13 1999 +0000
@@ -1442,11 +1442,9 @@
       /* In unibyte mode, character code conversion should not take
 	 place but EOL conversion should.  So, setup raw-text or one
 	 of the subsidiary according to the information just setup.  */
-      if (NILP (Vcoding_system_for_read)
-	  && !NILP (XPROCESS (process)->decode_coding_system))
+      if (!NILP (XPROCESS (process)->decode_coding_system))
 	setup_raw_text_coding_system (proc_decode_coding_system[inchannel]);
-      if (NILP (Vcoding_system_for_write)
-	  && !NILP (XPROCESS (process)->encode_coding_system))
+      if (!NILP (XPROCESS (process)->encode_coding_system))
 	setup_raw_text_coding_system (proc_encode_coding_system[outchannel]);
     }