# HG changeset patch # User Kenichi Handa # Date 1065741574 0 # Node ID f15c12edaf6da3c06a1282e248184d507722e9a6 # Parent e9b543429bfb9c7992656a91151695455d28243c (Finsert_file_contents) [DOS_NT]: Fix previous change. diff -r e9b543429bfb -r f15c12edaf6d src/fileio.c --- 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;