diff options
author | Kenichi Handa <handa@gnu.org> | 2014-10-05 17:52:04 +0900 |
---|---|---|
committer | Kenichi Handa <handa@gnu.org> | 2014-10-05 17:52:04 +0900 |
commit | 21c1abcae174704033a7f5b164081503501b921e (patch) | |
tree | 2b70bef6c6f227b2e65cca39cb896fd4d66df8c2 /src/coding.c | |
parent | 1943141cf64f1935ba745c0dab5508d26adc6837 (diff) | |
download | emacs-21c1abcae174704033a7f5b164081503501b921e.tar.gz |
coding.c (detect_coding_iso_2022): Fix previous change.
Diffstat (limited to 'src/coding.c')
-rw-r--r-- | src/coding.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coding.c b/src/coding.c index 02e59286dc8..f63d710ce9a 100644 --- a/src/coding.c +++ b/src/coding.c @@ -3166,7 +3166,7 @@ detect_coding_iso_2022 (struct coding_system *coding, if (inhibit_iso_escape_detection) break; single_shifting = 0; - rejected |= CATEGORY_MASK_ISO_7BIT; + rejected |= CATEGORY_MASK_ISO_7BIT | CATEGORY_MASK_ISO_7_ELSE; if (CODING_ISO_FLAGS (&coding_categories[coding_category_iso_8_1]) & CODING_ISO_FLAG_SINGLE_SHIFT) { @@ -3193,9 +3193,9 @@ detect_coding_iso_2022 (struct coding_system *coding, single_shifting = 0; break; } + rejected |= CATEGORY_MASK_ISO_7BIT | CATEGORY_MASK_ISO_7_ELSE; if (c >= 0xA0) { - rejected |= CATEGORY_MASK_ISO_7BIT | CATEGORY_MASK_ISO_7_ELSE; found |= CATEGORY_MASK_ISO_8_1; /* Check the length of succeeding codes of the range 0xA0..0FF. If the byte length is even, we include |