comparison src/keymap.c @ 89212:c5637be14c7f

(Ftext_char_description): Check C by ASCII_CHAR_P, not by SINGLE_BYTE_CHAR_P.
author Kenichi Handa <handa@m17n.org>
date Tue, 15 Oct 2002 01:19:04 +0000
parents adc5b06c6722
children 6ca0b3586d5f
comparison
equal deleted inserted replaced
89211:6fc3dc5bec6c 89212:c5637be14c7f
2128 int c; 2128 int c;
2129 2129
2130 CHECK_NUMBER (character); 2130 CHECK_NUMBER (character);
2131 2131
2132 c = XINT (character); 2132 c = XINT (character);
2133 if (!SINGLE_BYTE_CHAR_P (c)) 2133 if (!ASCII_CHAR_P (c))
2134 { 2134 {
2135 int len = CHAR_STRING (c, str); 2135 int len = CHAR_STRING (c, str);
2136 2136
2137 return make_multibyte_string (str, 1, len); 2137 return make_multibyte_string (str, 1, len);
2138 } 2138 }