Mercurial > emacs
diff src/fileio.c @ 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 | 804bc2c39305 |
children | 20a59c5d1d55 |
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;