]> git.eshelyaron.com Git - emacs.git/commitdiff
(Finsert_file_contents): Fix previous change.
authorRichard M. Stallman <rms@gnu.org>
Tue, 19 Aug 1997 15:12:38 +0000 (15:12 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 19 Aug 1997 15:12:38 +0000 (15:12 +0000)
src/fileio.c

index d82cc27419960cbe6a1eb032eaabaf1ba31ac62a..f42fad3bec7f5f8517a27591cd34f1164f72b667 100644 (file)
@@ -3613,7 +3613,8 @@ This does code conversion according to the value of\n\
   /* 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;