aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2010-01-14 20:31:16 +0900
committerKenichi Handa2010-01-14 20:31:16 +0900
commitd12bd91784f39bc65d9fdccc00676778f035c79d (patch)
tree314df3e3a2f177217915770aff61ccfca14ec586 /src
parent3a4f3a3b0a9aaea2d11a4de746f2b30ae1a39ce7 (diff)
downloademacs-d12bd91784f39bc65d9fdccc00676778f035c79d.tar.gz
emacs-d12bd91784f39bc65d9fdccc00676778f035c79d.zip
Fix handling of euc-xx coding systems.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/coding.c6
2 files changed, 10 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 57dcaa4af6e..e18591b345b 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,10 @@
12010-01-14 Kenichi Handa <handa@m17n.org> 12010-01-14 Kenichi Handa <handa@m17n.org>
2 2
3 * coding.c (detect_coding_iso_2022): Fix handling of euc-xx coding
4 systems.
5
62010-01-14 Kenichi Handa <handa@m17n.org>
7
3 Make auto-composition work on all buffers even if they are 8 Make auto-composition work on all buffers even if they are
4 fundamental mode. 9 fundamental mode.
5 10
diff --git a/src/coding.c b/src/coding.c
index 6b63d1f1a42..b3a51eb0c4c 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -3239,9 +3239,13 @@ detect_coding_iso_2022 (coding, detect_info)
3239 int i = 1; 3239 int i = 1;
3240 while (src < src_end) 3240 while (src < src_end)
3241 { 3241 {
3242 src_base = src;
3242 ONE_MORE_BYTE (c); 3243 ONE_MORE_BYTE (c);
3243 if (c < 0xA0) 3244 if (c < 0xA0)
3244 break; 3245 {
3246 src = src_base;
3247 break;
3248 }
3245 i++; 3249 i++;
3246 } 3250 }
3247 3251