aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/charset.h5
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