aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/keymap.c')
-rw-r--r--src/keymap.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/keymap.c b/src/keymap.c
index 9c7b4d29a3e..34fe1cb7a95 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -1292,7 +1292,7 @@ static Lisp_Object
1292append_key (Lisp_Object key_sequence, Lisp_Object key) 1292append_key (Lisp_Object key_sequence, Lisp_Object key)
1293{ 1293{
1294 AUTO_LIST1 (key_list, key); 1294 AUTO_LIST1 (key_list, key);
1295 return Fvconcat (2, ((Lisp_Object []) { key_sequence, key_list })); 1295 return CALLN (Fvconcat, key_sequence, key_list);
1296} 1296}
1297 1297
1298/* Given a event type C which is a symbol, 1298/* Given a event type C which is a symbol,
@@ -2435,8 +2435,7 @@ where_is_internal (Lisp_Object definition, Lisp_Object keymaps,
2435 if (NILP (where_is_cache)) 2435 if (NILP (where_is_cache))
2436 { 2436 {
2437 /* We need to create the cache. */ 2437 /* We need to create the cache. */
2438 Lisp_Object args[2]; 2438 where_is_cache = Fmake_hash_table (0, NULL);
2439 where_is_cache = Fmake_hash_table (0, args);
2440 where_is_cache_keymaps = Qt; 2439 where_is_cache_keymaps = Qt;
2441 } 2440 }
2442 else 2441 else