From: Kenichi Handa Date: Tue, 14 Apr 2009 01:24:52 +0000 (+0000) Subject: (Fdefine_charset_internal): Make charset X-Git-Tag: emacs-pretest-23.0.93~145 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3620330b86997d2f1af1baac94e047dc2e12af2e;p=emacs.git (Fdefine_charset_internal): Make charset ascii-compatible if the method is CHARSET_METHOD_OFFSET, the code_offset is 0, and covers all ASCII characters. --- diff --git a/src/charset.c b/src/charset.c index 492849f6868..bfe34686629 100644 --- a/src/charset.c +++ b/src/charset.c @@ -1082,6 +1082,8 @@ usage: (define-charset-internal ...) */) 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])) {