From 7c5e21ab08528ec931485f05961c911be635f327 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 1 Aug 1998 19:04:28 +0000 Subject: [PATCH] (create_process): For outchannel, set up proc_encode_coding_system, not proc_decode_coding_system. --- src/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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])) -- 2.39.2