# HG changeset patch # User Dave Love # Date 1036421874 0 # Node ID b35ced393e6c9d194d314813e965033a816ad9fa # Parent afa06e8da62c43f579cee426d932ef4f94ec62a2 (read_char): Always translate iff Vkeyboard_translate_table is a char table and c is valid. diff -r afa06e8da62c -r b35ced393e6c src/keyboard.c --- 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);