From: Kenichi Handa Date: Thu, 9 Oct 2003 23:19:34 +0000 (+0000) Subject: (Finsert_file_contents) [DOS_NT]: Fix previous change. X-Git-Tag: emacs-pretest-23.0.90~8295^2~1769 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=652a7e95890cf21daf8404273e7f12333c5022e8;p=emacs.git (Finsert_file_contents) [DOS_NT]: Fix previous change. --- diff --git a/src/fileio.c b/src/fileio.c index 69893a4192f..17fcad23e4e 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -4521,7 +4521,7 @@ actually used. */) /* 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;