From: Richard M. Stallman Date: Sat, 1 Aug 1998 19:04:28 +0000 (+0000) Subject: (create_process): For outchannel, set up X-Git-Tag: emacs-20.3~215 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7c5e21ab08528ec931485f05961c911be635f327;p=emacs.git (create_process): For outchannel, set up proc_encode_coding_system, not proc_decode_coding_system. --- diff --git a/src/process.c b/src/process.c index 7fad4c72f74..2cfd00917ae 100644 --- a/src/process.c +++ b/src/process.c @@ -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]))