(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 7fad4c7..2cfd009 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]))