diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c index 90856d75555..8c4e651455a 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -3802,7 +3802,7 @@ actually used. */) | |||
| 3802 | args[2] = visit, args[3] = beg, args[4] = end, args[5] = replace; | 3802 | args[2] = visit, args[3] = beg, args[4] = end, args[5] = replace; |
| 3803 | coding_systems = Ffind_operation_coding_system (6, args); | 3803 | coding_systems = Ffind_operation_coding_system (6, args); |
| 3804 | if (CONSP (coding_systems)) | 3804 | if (CONSP (coding_systems)) |
| 3805 | val = XCAR (coding_systems); | 3805 | coding_system = XCAR (coding_systems); |
| 3806 | } | 3806 | } |
| 3807 | } | 3807 | } |
| 3808 | 3808 | ||
| @@ -4412,7 +4412,8 @@ actually used. */) | |||
| 4412 | current_buffer->enable_multibyte_characters = Qnil; | 4412 | current_buffer->enable_multibyte_characters = Qnil; |
| 4413 | } | 4413 | } |
| 4414 | 4414 | ||
| 4415 | if ((CODING_REQUIRE_DETECTION (&coding) | 4415 | if ((! NILP (current_buffer->enable_multibyte_characters) |
| 4416 | || CODING_REQUIRE_DETECTION (&coding) | ||
| 4416 | || CODING_REQUIRE_DECODING (&coding)) | 4417 | || CODING_REQUIRE_DECODING (&coding)) |
| 4417 | && (inserted > 0 || CODING_REQUIRE_FLUSHING (&coding))) | 4418 | && (inserted > 0 || CODING_REQUIRE_FLUSHING (&coding))) |
| 4418 | { | 4419 | { |