diff options
| author | Kenichi Handa | 1998-08-21 06:34:13 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1998-08-21 06:34:13 +0000 |
| commit | 25b026986fec6aef4be19a52778adb16e6d771a0 (patch) | |
| tree | 459393df027ef683bce534d5d7715f2b6daf9cf1 /src/coding.c | |
| parent | 50b9d07d8cc5c74ed1cb986c0d6b84f97a7a3865 (diff) | |
| download | emacs-25b026986fec6aef4be19a52778adb16e6d771a0.tar.gz emacs-25b026986fec6aef4be19a52778adb16e6d771a0.zip | |
(detect_coding_system): If detect_eol_type returns
CODING_EOL_INCONSISTENT, set eol_type to CODING_EOL_UNDECIDED
correctly.
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c index f44a0a09d40..6b105b94a9c 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -4611,7 +4611,7 @@ detect_coding_system (src, src_bytes, highest) | |||
| 4611 | coding_mask = detect_coding_mask (src, src_bytes, NULL, &dummy); | 4611 | coding_mask = detect_coding_mask (src, src_bytes, NULL, &dummy); |
| 4612 | eol_type = detect_eol_type (src, src_bytes, &dummy); | 4612 | eol_type = detect_eol_type (src, src_bytes, &dummy); |
| 4613 | if (eol_type == CODING_EOL_INCONSISTENT) | 4613 | if (eol_type == CODING_EOL_INCONSISTENT) |
| 4614 | eol_type == CODING_EOL_UNDECIDED; | 4614 | eol_type = CODING_EOL_UNDECIDED; |
| 4615 | 4615 | ||
| 4616 | if (!coding_mask) | 4616 | if (!coding_mask) |
| 4617 | { | 4617 | { |