summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-08-19 15:12:38 +0000
committerRichard M. Stallman <rms@gnu.org>1997-08-19 15:12:38 +0000
commitb9a4aed854bb46bb088928a08eba35badd425342 (patch)
treee6107f077d2c66acfd1b9a34d708c95cc3ee9ba4
parent042be2fba662ae8e851f92012c24320cb7182e62 (diff)
downloademacs-b9a4aed854bb46bb088928a08eba35badd425342.tar.gz
(Finsert_file_contents): Fix previous change.
-rw-r--r--src/fileio.c3
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;