mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-13 16:38:14 +00:00
(detect_coding_system): Treat CODING_EOL_INCONSISTENT
like CODING_EOL_UNDECIDED.
This commit is contained in:
parent
74490e55da
commit
65059037ab
@ -4546,10 +4546,11 @@ detect_coding_system (src, src_bytes, highest)
|
||||
if (!highest)
|
||||
val = Fnreverse (val);
|
||||
|
||||
/* Then, substitute the elements by subsidiary coding systems. */
|
||||
/* Then, replace the elements with subsidiary coding systems. */
|
||||
for (tmp = val; !NILP (tmp); tmp = XCONS (tmp)->cdr)
|
||||
{
|
||||
if (eol_type != CODING_EOL_UNDECIDED)
|
||||
if (eol_type != CODING_EOL_UNDECIDED
|
||||
&& eol_type != CODING_EOL_INCONSISTENT)
|
||||
{
|
||||
Lisp_Object eol;
|
||||
eol = Fget (XCONS (tmp)->car, Qeol_type);
|
||||
|
Loading…
Reference in New Issue
Block a user