1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-30 08:09:04 +00:00

(create_process): For outchannel, set up

proc_encode_coding_system, not proc_decode_coding_system.
This commit is contained in:
Richard M. Stallman 1998-08-01 19:04:28 +00:00
parent 9d499629f9
commit 7c5e21ab08

View 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]))