Mercurial > emacs
changeset 89579:f15c12edaf6d
(Finsert_file_contents) [DOS_NT]: Fix previous change.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 09 Oct 2003 23:19:34 +0000 |
parents | e9b543429bfb |
children | fa5b8317a0bb |
files | src/fileio.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fileio.c Thu Oct 09 23:08:38 2003 +0000 +++ b/src/fileio.c Thu Oct 09 23:19:34 2003 +0000 @@ -4521,7 +4521,7 @@ /* Use the conversion type to determine buffer-file-type (find-buffer-file-type is now used to help determine the conversion). */ - if ((EQ (CODING_ID_EOL_TYPE (coding.id), Qundecided) + if ((VECTORP (CODING_ID_EOL_TYPE (coding.id)) || EQ (CODING_ID_EOL_TYPE (coding.id), Qunix)) && ! CODING_REQUIRE_DECODING (&coding)) current_buffer->buffer_file_type = Qt;