aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1997-08-19 15:12:38 +0000
committerRichard M. Stallman1997-08-19 15:12:38 +0000
commit2f9d985f41cbc10d5129c228e27774215e145f45 (patch)
tree35f20b10af895d0ddbd4e84def5604a994f6ff75 /src
parent7c896f63d6ecc5666ed63cd4d3c452e285dc7ee7 (diff)
downloademacs-2f9d985f41cbc10d5129c228e27774215e145f45.tar.gz
emacs-2f9d985f41cbc10d5129c228e27774215e145f45.zip
(Finsert_file_contents): Fix previous change.
Diffstat (limited to 'src')
-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\
3613 /* Use the conversion type to determine buffer-file-type 3613 /* Use the conversion type to determine buffer-file-type
3614 (find-buffer-file-type is now used to help determine the 3614 (find-buffer-file-type is now used to help determine the
3615 conversion). */ 3615 conversion). */
3616 if (CODING_REQUIRE_EOL_CONVERSION (&coding)) 3616 if (coding.eol_type != CODING_EOL_UNDECIDED
3617 && coding.eol_type != CODING_EOL_LF)
3617 current_buffer->buffer_file_type = Qnil; 3618 current_buffer->buffer_file_type = Qnil;
3618 else 3619 else
3619 current_buffer->buffer_file_type = Qt; 3620 current_buffer->buffer_file_type = Qt;