diff options
| author | Richard M. Stallman | 1999-07-07 22:50:13 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1999-07-07 22:50:13 +0000 |
| commit | 10af5b4c340fe20d88a4d637eaf2b84c2feb92eb (patch) | |
| tree | 01df4a4ea11098b5221c828793a6139bb8f2d990 /src | |
| parent | 237a6fd294b5e60a2971e02e79e49ec6ebad856c (diff) | |
| download | emacs-10af5b4c340fe20d88a4d637eaf2b84c2feb92eb.tar.gz emacs-10af5b4c340fe20d88a4d637eaf2b84c2feb92eb.zip | |
(create_process): If the output goes to a unibyte
buffer, suppress character code conversion.p
Diffstat (limited to 'src')
| -rw-r--r-- | src/process.c | 6 |
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) | |||
| 1442 | /* In unibyte mode, character code conversion should not take | 1442 | /* In unibyte mode, character code conversion should not take |
| 1443 | place but EOL conversion should. So, setup raw-text or one | 1443 | place but EOL conversion should. So, setup raw-text or one |
| 1444 | of the subsidiary according to the information just setup. */ | 1444 | of the subsidiary according to the information just setup. */ |
| 1445 | if (NILP (Vcoding_system_for_read) | 1445 | if (!NILP (XPROCESS (process)->decode_coding_system)) |
| 1446 | && !NILP (XPROCESS (process)->decode_coding_system)) | ||
| 1447 | setup_raw_text_coding_system (proc_decode_coding_system[inchannel]); | 1446 | setup_raw_text_coding_system (proc_decode_coding_system[inchannel]); |
| 1448 | if (NILP (Vcoding_system_for_write) | 1447 | if (!NILP (XPROCESS (process)->encode_coding_system)) |
| 1449 | && !NILP (XPROCESS (process)->encode_coding_system)) | ||
| 1450 | setup_raw_text_coding_system (proc_encode_coding_system[outchannel]); | 1448 | setup_raw_text_coding_system (proc_encode_coding_system[outchannel]); |
| 1451 | } | 1449 | } |
| 1452 | 1450 | ||