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:
parent
50b9d07d8c
commit
25b026986f
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue