comparison src/fileio.c @ 89577:804bc2c39305

(Finsert_file_contents) [DOS_NT]: Use the macro CODING_ID_EOL_TYPE..
author Kenichi Handa <handa@m17n.org>
date Thu, 09 Oct 2003 23:08:14 +0000
parents 1bd1640fc949
children f15c12edaf6d
comparison
equal deleted inserted replaced
89576:c4e90e6721e8 89577:804bc2c39305
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 ((coding.eol_type == eol_type_undecided 4524 if ((EQ (CODING_ID_EOL_TYPE (coding.id), Qundecided)
4525 || coding.eol_type == eol_type_lf) 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;
4530 #endif 4530 #endif