From: Richard M. Stallman Date: Tue, 19 Aug 1997 15:12:38 +0000 (+0000) Subject: (Finsert_file_contents): Fix previous change. X-Git-Tag: emacs-20.1~511 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2f9d985f41cbc10d5129c228e27774215e145f45;p=emacs.git (Finsert_file_contents): Fix previous change. --- 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;