]> git.eshelyaron.com Git - emacs.git/commitdiff
(create_process): For outchannel, set up
authorRichard M. Stallman <rms@gnu.org>
Sat, 1 Aug 1998 19:04:28 +0000 (19:04 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 1 Aug 1998 19:04:28 +0000 (19:04 +0000)
proc_encode_coding_system, not proc_decode_coding_system.

src/process.c

index 7fad4c72f748fc43c54bf52d59beb78650f09dcb..2cfd00917aeb3cd9fc14690ba8098a389679e3ed 100644 (file)
@@ -1447,7 +1447,7 @@ create_process (process, new_argv, current_dir)
        setup_raw_text_coding_system (proc_decode_coding_system[inchannel]);
       if (NILP (Vcoding_system_for_write)
          && !NILP (XPROCESS (process)->encode_coding_system))
-       setup_raw_text_coding_system (proc_decode_coding_system[outchannel]);
+       setup_raw_text_coding_system (proc_encode_coding_system[outchannel]);
     }
 
   if (CODING_REQUIRE_ENCODING (proc_encode_coding_system[outchannel]))