comparison 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
comparison
equal deleted inserted replaced
89578:e9b543429bfb 89579:f15c12edaf6d
4519 4519
4520 #ifdef DOS_NT 4520 #ifdef DOS_NT
4521 /* Use the conversion type to determine buffer-file-type 4521 /* Use the conversion type to determine buffer-file-type
4522 (find-buffer-file-type is now used to help determine the 4522 (find-buffer-file-type is now used to help determine the
4523 conversion). */ 4523 conversion). */
4524 if ((EQ (CODING_ID_EOL_TYPE (coding.id), Qundecided) 4524 if ((VECTORP (CODING_ID_EOL_TYPE (coding.id))
4525 || EQ (CODING_ID_EOL_TYPE (coding.id), Qunix)) 4525 || EQ (CODING_ID_EOL_TYPE (coding.id), Qunix))
4526 && ! CODING_REQUIRE_DECODING (&coding)) 4526 && ! CODING_REQUIRE_DECODING (&coding))
4527 current_buffer->buffer_file_type = Qt; 4527 current_buffer->buffer_file_type = Qt;
4528 else 4528 else
4529 current_buffer->buffer_file_type = Qnil; 4529 current_buffer->buffer_file_type = Qnil;