1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 03:40:56 -08:00

Fix handling of euc-xx coding systems.

This commit is contained in:
Kenichi Handa 2010-01-14 20:31:16 +09:00
parent 3a4f3a3b0a
commit d12bd91784
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2010-01-14 Kenichi Handa <handa@m17n.org>
* coding.c (detect_coding_iso_2022): Fix handling of euc-xx coding
systems.
2010-01-14 Kenichi Handa <handa@m17n.org>
Make auto-composition work on all buffers even if they are

View file

@ -3239,9 +3239,13 @@ detect_coding_iso_2022 (coding, detect_info)
int i = 1;
while (src < src_end)
{
src_base = src;
ONE_MORE_BYTE (c);
if (c < 0xA0)
break;
{
src = src_base;
break;
}
i++;
}