1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-21 13:10:37 -08:00

(detect_coding_system): If detect_eol_type returns

CODING_EOL_INCONSISTENT, set eol_type to CODING_EOL_UNDECIDED
correctly.
This commit is contained in:
Kenichi Handa 1998-08-21 06:34:13 +00:00
parent 50b9d07d8c
commit 25b026986f

View file

@ -4611,7 +4611,7 @@ detect_coding_system (src, src_bytes, highest)
coding_mask = detect_coding_mask (src, src_bytes, NULL, &dummy);
eol_type = detect_eol_type (src, src_bytes, &dummy);
if (eol_type == CODING_EOL_INCONSISTENT)
eol_type == CODING_EOL_UNDECIDED;
eol_type = CODING_EOL_UNDECIDED;
if (!coding_mask)
{