aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/keymap.c')
-rw-r--r--src/keymap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/keymap.c b/src/keymap.c
index b2ca9e11e94..a4105aeada1 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -355,6 +355,8 @@ store_in_keymap (keymap, idx, def)
355 switch (XTYPE (elt)) 355 switch (XTYPE (elt))
356 { 356 {
357 case Lisp_Vector: 357 case Lisp_Vector:
358 if (XVECTOR (elt)->size != DENSE_TABLE_SIZE)
359 break;
358 if (XTYPE (idx) == Lisp_Int) 360 if (XTYPE (idx) == Lisp_Int)
359 { 361 {
360 XVECTOR (elt)->contents[XFASTINT (idx)] = def; 362 XVECTOR (elt)->contents[XFASTINT (idx)] = def;
@@ -380,6 +382,8 @@ store_in_keymap (keymap, idx, def)
380 goto keymap_end; 382 goto keymap_end;
381 break; 383 break;
382 } 384 }
385
386 QUIT;
383 } 387 }
384 388
385 keymap_end: 389 keymap_end: