summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-08-01 19:04:28 +0000
committerRichard M. Stallman <rms@gnu.org>1998-08-01 19:04:28 +0000
commit7c5e21ab08528ec931485f05961c911be635f327 (patch)
treefe183226f4e0fb75fd3e1508e5891092ca6e3778
parent9d499629f9a32a45e20135f4f049d070ab6a9b3c (diff)
downloademacs-7c5e21ab08528ec931485f05961c911be635f327.tar.gz
(create_process): For outchannel, set up
proc_encode_coding_system, not proc_decode_coding_system.
-rw-r--r--src/process.c2
1 files changed, 1 insertions, 1 deletions
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]))