diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-08-19 15:12:38 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-08-19 15:12:38 +0000 |
commit | b9a4aed854bb46bb088928a08eba35badd425342 (patch) | |
tree | e6107f077d2c66acfd1b9a34d708c95cc3ee9ba4 | |
parent | 042be2fba662ae8e851f92012c24320cb7182e62 (diff) | |
download | emacs-b9a4aed854bb46bb088928a08eba35badd425342.tar.gz |
(Finsert_file_contents): Fix previous change.
-rw-r--r-- | src/fileio.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |