[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r118047: coding.c (detect_coding_iso_2022): Fix prev
From: |
Kenichi Handa |
Subject: |
[Emacs-diffs] trunk r118047: coding.c (detect_coding_iso_2022): Fix previous change. |
Date: |
Sun, 05 Oct 2014 08:52:56 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 118047 [merge]
revision-id: address@hidden
parent: address@hidden
parent: address@hidden
committer: K. Handa <address@hidden>
branch nick: trunk
timestamp: Sun 2014-10-05 17:52:51 +0900
message:
coding.c (detect_coding_iso_2022): Fix previous change.
modified:
src/coding.c coding.c-20091113204419-o5vbwnq5f7feedwu-1077
=== modified file 'src/coding.c'
--- a/src/coding.c 2014-10-05 08:17:15 +0000
+++ b/src/coding.c 2014-10-05 08:52:04 +0000
@@ -3166,7 +3166,7 @@
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 @@
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r118047: coding.c (detect_coding_iso_2022): Fix previous change.,
Kenichi Handa <=