summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1999-07-07 22:50:13 +0000
committerRichard M. Stallman <rms@gnu.org>1999-07-07 22:50:13 +0000
commit3ac9e2dd81b88773c249771a780509f27ba167de (patch)
treeb44a2ca0c2d32872220419ddc29438161e912b38
parent44fc8c1f83c85466aee852bc53370d54a372827c (diff)
downloademacs-3ac9e2dd81b88773c249771a780509f27ba167de.tar.gz
(create_process): If the output goes to a unibyte
buffer, suppress character code conversion.p
-rw-r--r--src/process.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/process.c b/src/process.c
index e08367e0222..80dc4e06140 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1442,11 +1442,9 @@ create_process (process, new_argv, current_dir)
/* In unibyte mode, character code conversion should not take
place but EOL conversion should. So, setup raw-text or one
of the subsidiary according to the information just setup. */
- if (NILP (Vcoding_system_for_read)
- && !NILP (XPROCESS (process)->decode_coding_system))
+ if (!NILP (XPROCESS (process)->decode_coding_system))
setup_raw_text_coding_system (proc_decode_coding_system[inchannel]);
- if (NILP (Vcoding_system_for_write)
- && !NILP (XPROCESS (process)->encode_coding_system))
+ if (!NILP (XPROCESS (process)->encode_coding_system))
setup_raw_text_coding_system (proc_encode_coding_system[outchannel]);
}