Commit 2ff6714d authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(modify_event_symbol):

Don't index thru name_table if it is null.
parent 370e3d9d
......@@ -4463,7 +4463,7 @@ modify_event_symbol (symbol_num, modifiers, symbol_kind, name_alist,
/* No; let's create it. */
if (!NILP (name_alist))
value = Fcdr_safe (Fassq (symbol_int, name_alist));
else if (name_table[symbol_num])
else if (name_table != 0 && name_table[symbol_num])
value = intern (name_table[symbol_num]);
#ifdef HAVE_WINDOW_SYSTEM
......
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