Commit 5907b863 authored by Karl Heuer's avatar Karl Heuer
Browse files

(Fdefine_key): Check for non-events in keyvector.

parent 0abbff13
......@@ -616,6 +616,9 @@ the front of KEYMAP.")
if (! INTEGERP (c) && ! SYMBOLP (c) && ! CONSP (c))
error ("Key sequence contains illegal events");
if (idx == length)
RETURN_UNGCPRO (store_in_keymap (keymap, c, def));
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