From: Kenichi Handa Date: Sun, 10 Mar 2013 15:06:04 +0000 (+0900) Subject: Fix previous change. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~584 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7d051e215477753b813864caa23c1009c7692bda;p=emacs.git Fix previous change. --- diff --git a/src/coding.c b/src/coding.c index 98af4ddcef7..d6560a92b70 100644 --- a/src/coding.c +++ b/src/coding.c @@ -7509,7 +7509,9 @@ decode_coding_gap (struct coding_system *coding, #ifndef CODING_DISABLE_ASCII_OPTIMIZATION if (! NILP (CODING_ATTR_ASCII_COMPAT (attrs)) && NILP (CODING_ATTR_POST_READ (attrs)) - && NILP (get_translation_table (attrs, 0, NULL))) + && NILP (get_translation_table (attrs, 0, NULL)) + && (inhibit_eol_conversion + || EQ (CODING_ID_EOL_TYPE (coding->id), Qunix))) { /* We can skip the conversion if all source bytes are ASCII. */ if (coding->head_ascii < 0)