# HG changeset patch # User Richard M. Stallman # Date 896215591 0 # Node ID 1deb7d79af00fb04743f84685134240698f9e6eb # Parent ed6b191416cf19b60dc84c3628f1f1d082be8720 (detect_coding_system): Treat CODING_EOL_INCONSISTENT like CODING_EOL_UNDECIDED. diff -r ed6b191416cf -r 1deb7d79af00 src/coding.c --- a/src/coding.c Tue May 26 20:36:22 1998 +0000 +++ b/src/coding.c Tue May 26 20:46:31 1998 +0000 @@ -4546,10 +4546,11 @@ 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);