diff src/fileio.c @ 19437:6591ac0b83d9

(Finsert_file_contents): Fix previous change.
author Richard M. Stallman <rms@gnu.org>
date Tue, 19 Aug 1997 15:12:38 +0000
parents 2ada2106a39c
children 950a178e8783
line wrap: on
line diff
--- a/src/fileio.c	Tue Aug 19 14:00:36 1997 +0000
+++ b/src/fileio.c	Tue Aug 19 15:12:38 1997 +0000
@@ -3613,7 +3613,8 @@
   /* Use the conversion type to determine buffer-file-type
      (find-buffer-file-type is now used to help determine the
      conversion).  */
-  if (CODING_REQUIRE_EOL_CONVERSION (&coding))
+  if (coding.eol_type != CODING_EOL_UNDECIDED 
+      && coding.eol_type != CODING_EOL_LF)
     current_buffer->buffer_file_type = Qnil;
   else
     current_buffer->buffer_file_type = Qt;