]> git.eshelyaron.com Git - emacs.git/commitdiff
(create_process): If the output goes to a unibyte
authorRichard M. Stallman <rms@gnu.org>
Wed, 7 Jul 1999 22:50:13 +0000 (22:50 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 7 Jul 1999 22:50:13 +0000 (22:50 +0000)
buffer, suppress character code conversion.p

src/process.c

index e08367e0222d9c32c65c898eb7f685cb8c5c5ae2..80dc4e06140ef6d585a74addf63ab56b4a4b0541 100644 (file)
@@ -1442,11 +1442,9 @@ create_process (process, new_argv, current_dir)
       /* 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]);
     }