aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2003-10-09 23:08:14 +0000
committerKenichi Handa2003-10-09 23:08:14 +0000
commitf7ce9c0cb6acc3e88fea89103c9ea9605433c621 (patch)
treeac2d8ba16b987fd15716d60f9268bbd00e2b8dbe /src
parent29f842da096186bbcb56c5b0325601f6cb1dade4 (diff)
downloademacs-f7ce9c0cb6acc3e88fea89103c9ea9605433c621.tar.gz
emacs-f7ce9c0cb6acc3e88fea89103c9ea9605433c621.zip
(Finsert_file_contents) [DOS_NT]: Use the macro CODING_ID_EOL_TYPE..
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 7571a1c9602..69893a4192f 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -4521,8 +4521,8 @@ actually used. */)
4521 /* Use the conversion type to determine buffer-file-type 4521 /* Use the conversion type to determine buffer-file-type
4522 (find-buffer-file-type is now used to help determine the 4522 (find-buffer-file-type is now used to help determine the
4523 conversion). */ 4523 conversion). */
4524 if ((coding.eol_type == eol_type_undecided 4524 if ((EQ (CODING_ID_EOL_TYPE (coding.id), Qundecided)
4525 || coding.eol_type == eol_type_lf) 4525 || EQ (CODING_ID_EOL_TYPE (coding.id), Qunix))
4526 && ! CODING_REQUIRE_DECODING (&coding)) 4526 && ! CODING_REQUIRE_DECODING (&coding))
4527 current_buffer->buffer_file_type = Qt; 4527 current_buffer->buffer_file_type = Qt;
4528 else 4528 else