From 2f9d985f41cbc10d5129c228e27774215e145f45 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 19 Aug 1997 15:12:38 +0000 Subject: [PATCH] (Finsert_file_contents): Fix previous change. --- src/fileio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fileio.c b/src/fileio.c index d82cc274199..f42fad3bec7 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -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; -- 2.39.2