diff options
| author | Kenichi Handa | 2003-10-09 23:08:14 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2003-10-09 23:08:14 +0000 |
| commit | f7ce9c0cb6acc3e88fea89103c9ea9605433c621 (patch) | |
| tree | ac2d8ba16b987fd15716d60f9268bbd00e2b8dbe /src | |
| parent | 29f842da096186bbcb56c5b0325601f6cb1dade4 (diff) | |
| download | emacs-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.c | 4 |
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 |