diff options
| -rw-r--r-- | src/fileio.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/fileio.c b/src/fileio.c index 702d9ac1299..84defeb05d5 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -3539,10 +3539,10 @@ actually used.") | |||
| 3539 | 3539 | ||
| 3540 | setup_coding_system (Fcheck_coding_system (val), &coding); | 3540 | setup_coding_system (Fcheck_coding_system (val), &coding); |
| 3541 | 3541 | ||
| 3542 | if (NILP (Vcoding_system_for_read) | 3542 | if (NILP (current_buffer->enable_multibyte_characters) |
| 3543 | && NILP (current_buffer->enable_multibyte_characters)) | 3543 | && ! NILP (val)) |
| 3544 | /* We must suppress all text conversion except for end-of-line | 3544 | /* We must suppress all character code conversion except for |
| 3545 | conversion. */ | 3545 | end-of-line conversion. */ |
| 3546 | setup_raw_text_coding_system (&coding); | 3546 | setup_raw_text_coding_system (&coding); |
| 3547 | 3547 | ||
| 3548 | coding_system_decided = 1; | 3548 | coding_system_decided = 1; |
| @@ -4080,9 +4080,9 @@ actually used.") | |||
| 4080 | bcopy (&temp_coding, &coding, sizeof coding); | 4080 | bcopy (&temp_coding, &coding, sizeof coding); |
| 4081 | } | 4081 | } |
| 4082 | 4082 | ||
| 4083 | if (NILP (Vcoding_system_for_read) | 4083 | if (NILP (current_buffer->enable_multibyte_characters) |
| 4084 | && NILP (current_buffer->enable_multibyte_characters)) | 4084 | && ! NILP (val)) |
| 4085 | /* We must suppress all text conversion except for | 4085 | /* We must suppress all character code conversion except for |
| 4086 | end-of-line conversion. */ | 4086 | end-of-line conversion. */ |
| 4087 | setup_raw_text_coding_system (&coding); | 4087 | setup_raw_text_coding_system (&coding); |
| 4088 | } | 4088 | } |