changeset 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 c4e90e6721e8
children e9b543429bfb
files src/fileio.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Mon Oct 06 22:30:44 2003 +0000
+++ b/src/fileio.c	Thu Oct 09 23:08:14 2003 +0000
@@ -4521,8 +4521,8 @@
   /* Use the conversion type to determine buffer-file-type
      (find-buffer-file-type is now used to help determine the
      conversion).  */
-  if ((coding.eol_type == eol_type_undecided
-       || coding.eol_type == eol_type_lf)
+  if ((EQ (CODING_ID_EOL_TYPE (coding.id), Qundecided)
+       || EQ (CODING_ID_EOL_TYPE (coding.id), Qunix))
       && ! CODING_REQUIRE_DECODING (&coding))
     current_buffer->buffer_file_type = Qt;
   else