aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c4
1 files changed, 3 insertions, 1 deletions
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,
7509#ifndef CODING_DISABLE_ASCII_OPTIMIZATION 7509#ifndef CODING_DISABLE_ASCII_OPTIMIZATION
7510 if (! NILP (CODING_ATTR_ASCII_COMPAT (attrs)) 7510 if (! NILP (CODING_ATTR_ASCII_COMPAT (attrs))
7511 && NILP (CODING_ATTR_POST_READ (attrs)) 7511 && NILP (CODING_ATTR_POST_READ (attrs))
7512 && NILP (get_translation_table (attrs, 0, NULL))) 7512 && NILP (get_translation_table (attrs, 0, NULL))
7513 && (inhibit_eol_conversion
7514 || EQ (CODING_ID_EOL_TYPE (coding->id), Qunix)))
7513 { 7515 {
7514 /* We can skip the conversion if all source bytes are ASCII. */ 7516 /* We can skip the conversion if all source bytes are ASCII. */
7515 if (coding->head_ascii < 0) 7517 if (coding->head_ascii < 0)