diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index d82cc274199..f42fad3bec7 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -3613,7 +3613,8 @@ This does code conversion according to the value of\n\ | |||
| 3613 | /* Use the conversion type to determine buffer-file-type | 3613 | /* Use the conversion type to determine buffer-file-type |
| 3614 | (find-buffer-file-type is now used to help determine the | 3614 | (find-buffer-file-type is now used to help determine the |
| 3615 | conversion). */ | 3615 | conversion). */ |
| 3616 | if (CODING_REQUIRE_EOL_CONVERSION (&coding)) | 3616 | if (coding.eol_type != CODING_EOL_UNDECIDED |
| 3617 | && coding.eol_type != CODING_EOL_LF) | ||
| 3617 | current_buffer->buffer_file_type = Qnil; | 3618 | current_buffer->buffer_file_type = Qnil; |
| 3618 | else | 3619 | else |
| 3619 | current_buffer->buffer_file_type = Qt; | 3620 | current_buffer->buffer_file_type = Qt; |