Commit 3620330b authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(Fdefine_charset_internal): Make charset

ascii-compatible if the method is CHARSET_METHOD_OFFSET, the
code_offset is 0, and covers all ASCII characters.
parent 86fa089e
......@@ -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]))
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment