Mercurial > emacs
diff src/coding.c @ 22254:1deb7d79af00
(detect_coding_system): Treat CODING_EOL_INCONSISTENT
like CODING_EOL_UNDECIDED.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Tue, 26 May 1998 20:46:31 +0000 |
| parents | 557fac086b1b |
| children | 4786b00d2973 |
line wrap: on
line diff
--- 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);
