Commit 5e3cb80d authored by Dave Love's avatar Dave Love

(read_char): Always translate iff

Vkeyboard_translate_table is a char table and c is valid.
parent f7706646
2002-11-04 Dave Love <fx@gnu.org>
* keyboard.c (read_char): Always translate iff
Vkeyboard_translate_table is a char table and c is valid.
* xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table
and fix C types.
2002-11-03 Stefan Monnier <monnier@cs.yale.edu>
* xdisp.c (single_display_prop_intangible_p): Strings are intangible.
......
......@@ -2780,7 +2780,7 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu)
|| (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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment