From 7d051e215477753b813864caa23c1009c7692bda Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Mon, 11 Mar 2013 00:06:04 +0900 Subject: [PATCH] Fix previous change. --- src/coding.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- 2.11.4.GIT