Mercurial > emacs
changeset 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 | ed6b191416cf |
children | 7851f4551208 |
files | src/coding.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
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);