Mercurial > emacs
changeset 102955:e59697cf4141
(Fdefine_charset_internal): Make charset
ascii-compatible if the method is CHARSET_METHOD_OFFSET, the
code_offset is 0, and covers all ASCII characters.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 14 Apr 2009 01:24:52 +0000 |
parents | b5a34573cf82 |
children | b20a4659fd91 |
files | src/charset.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/charset.c Mon Apr 13 18:45:12 2009 +0000 +++ b/src/charset.c Tue Apr 14 01:24:52 2009 +0000 @@ -1082,6 +1082,8 @@ i = (i >> 12) << 12; for (; i <= charset.max_char; i += 0x1000) CHARSET_FAST_MAP_SET (i, charset.fast_map); + if (charset.code_offset == 0 && charset.max_char >= 0x80) + charset.ascii_compatible_p = 1; } else if (! NILP (args[charset_arg_map])) {