diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c index 14cec5de765..422f9d8dfc9 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -4938,6 +4938,8 @@ choose_write_coding_system (start, end, filename, | |||
| 4938 | setup_coding_system (Fcheck_coding_system (val), coding); | 4938 | setup_coding_system (Fcheck_coding_system (val), coding); |
| 4939 | 4939 | ||
| 4940 | done_setup_coding: | 4940 | done_setup_coding: |
| 4941 | if (coding->eol_type == CODING_EOL_UNDECIDED) | ||
| 4942 | coding->eol_type = system_eol_type; | ||
| 4941 | if (!STRINGP (start) && !NILP (current_buffer->selective_display)) | 4943 | if (!STRINGP (start) && !NILP (current_buffer->selective_display)) |
| 4942 | coding->mode |= CODING_MODE_SELECTIVE_DISPLAY; | 4944 | coding->mode |= CODING_MODE_SELECTIVE_DISPLAY; |
| 4943 | } | 4945 | } |