Mercurial > emacs
diff src/charset.h @ 89980:b27fcfc48d2e
(CHAR_CHARSET): Shortcut for ASCII case.
| author | Kenichi Handa <handa@m17n.org> |
|---|---|
| date | Sun, 19 Sep 2004 03:59:24 +0000 |
| parents | c4c848b80f86 |
| children | f9a65d7ebd29 |
line wrap: on
line diff
--- a/src/charset.h Fri Sep 17 14:31:05 2004 +0000 +++ b/src/charset.h Sun Sep 19 03:59:24 2004 +0000 @@ -371,8 +371,9 @@ /* Lookup Vcharset_order_list and return the first charset that contains the character C. */ -#define CHAR_CHARSET(c) \ - char_charset ((c), Qnil, NULL) +#define CHAR_CHARSET(c) \ + ((c) < 0x80 ? CHARSET_FROM_ID (charset_ascii) \ + : char_charset ((c), Qnil, NULL)) #if 0 /* Char-table of charset-sets. Each element is a bool vector indexed
