Mercurial > emacs
diff src/keyboard.c @ 48146:b35ced393e6c
(read_char): Always translate iff
Vkeyboard_translate_table is a char table and c is valid.
| author | Dave Love <fx@gnu.org> |
|---|---|
| date | Mon, 04 Nov 2002 14:57:54 +0000 |
| parents | 0c75cb82ad34 |
| children | 5d4678fa4feb |
line wrap: on
line diff
--- a/src/keyboard.c Mon Nov 04 14:29:04 2002 +0000 +++ b/src/keyboard.c Mon Nov 04 14:57:54 2002 +0000 @@ -2780,7 +2780,7 @@ || (VECTORP (Vkeyboard_translate_table) && XVECTOR (Vkeyboard_translate_table)->size > (unsigned) XFASTINT (c)) || (CHAR_TABLE_P (Vkeyboard_translate_table) - && CHAR_TABLE_ORDINARY_SLOTS > (unsigned) XFASTINT (c))) + && CHAR_VALID_P (XINT (c), 0))) { Lisp_Object d; d = Faref (Vkeyboard_translate_table, c);
