Commit 0188441d authored by Jim Blandy's avatar Jim Blandy

* keymap.c (store_in_keymap): Don't forget to QUIT in the

	keymap-scanning loop.  Don't treat vectors as binding tables if
	they're the wrong length.

	* keymap.c (store_in_keymap): Don't forget to QUIT in the
	keymap-scanning loop.  Don't treat vectors as binding tables if
	they're the wrong length.
parent 49fcd3de
......@@ -355,6 +355,8 @@ store_in_keymap (keymap, idx, def)
switch (XTYPE (elt))
{
case Lisp_Vector:
if (XVECTOR (elt)->size != DENSE_TABLE_SIZE)
break;
if (XTYPE (idx) == Lisp_Int)
{
XVECTOR (elt)->contents[XFASTINT (idx)] = def;
......@@ -380,6 +382,8 @@ store_in_keymap (keymap, idx, def)
goto keymap_end;
break;
}
QUIT;
}
keymap_end:
......
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