diff options
| author | Kenichi Handa | 2009-04-14 01:24:52 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2009-04-14 01:24:52 +0000 |
| commit | 3620330b86997d2f1af1baac94e047dc2e12af2e (patch) | |
| tree | 8b656a5c06e1f19edcc0339a4b7e83b0d480b32f | |
| parent | 86fa089ec05c413bb2c30dd06cce852ec917bc51 (diff) | |
| download | emacs-3620330b86997d2f1af1baac94e047dc2e12af2e.tar.gz emacs-3620330b86997d2f1af1baac94e047dc2e12af2e.zip | |
(Fdefine_charset_internal): Make charset
ascii-compatible if the method is CHARSET_METHOD_OFFSET, the
code_offset is 0, and covers all ASCII characters.
| -rw-r--r-- | src/charset.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 ...) */) | |||
| 1082 | i = (i >> 12) << 12; | 1082 | i = (i >> 12) << 12; |
| 1083 | for (; i <= charset.max_char; i += 0x1000) | 1083 | for (; i <= charset.max_char; i += 0x1000) |
| 1084 | CHARSET_FAST_MAP_SET (i, charset.fast_map); | 1084 | CHARSET_FAST_MAP_SET (i, charset.fast_map); |
| 1085 | if (charset.code_offset == 0 && charset.max_char >= 0x80) | ||
| 1086 | charset.ascii_compatible_p = 1; | ||
| 1085 | } | 1087 | } |
| 1086 | else if (! NILP (args[charset_arg_map])) | 1088 | else if (! NILP (args[charset_arg_map])) |
| 1087 | { | 1089 | { |