diff options
| author | Kenichi Handa | 2004-09-19 03:59:24 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2004-09-19 03:59:24 +0000 |
| commit | ec91b3c9d25ea5171e3ffd15639f6a75ffe1650c (patch) | |
| tree | 01596852da976f0121c3dda41d7aa864bd2383d4 /src | |
| parent | c067d39f19394fe777c955add7ce089cbe756d7b (diff) | |
| download | emacs-ec91b3c9d25ea5171e3ffd15639f6a75ffe1650c.tar.gz emacs-ec91b3c9d25ea5171e3ffd15639f6a75ffe1650c.zip | |
(CHAR_CHARSET): Shortcut for ASCII case.
Diffstat (limited to 'src')
| -rw-r--r-- | src/charset.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/charset.h b/src/charset.h index 9213853ea5c..f9519068948 100644 --- a/src/charset.h +++ b/src/charset.h | |||
| @@ -371,8 +371,9 @@ extern struct charset *emacs_mule_charset[256]; | |||
| 371 | 371 | ||
| 372 | /* Lookup Vcharset_order_list and return the first charset that | 372 | /* Lookup Vcharset_order_list and return the first charset that |
| 373 | contains the character C. */ | 373 | contains the character C. */ |
| 374 | #define CHAR_CHARSET(c) \ | 374 | #define CHAR_CHARSET(c) \ |
| 375 | char_charset ((c), Qnil, NULL) | 375 | ((c) < 0x80 ? CHARSET_FROM_ID (charset_ascii) \ |
| 376 | : char_charset ((c), Qnil, NULL)) | ||
| 376 | 377 | ||
| 377 | #if 0 | 378 | #if 0 |
| 378 | /* Char-table of charset-sets. Each element is a bool vector indexed | 379 | /* Char-table of charset-sets. Each element is a bool vector indexed |