aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/keymap.c')
-rw-r--r--src/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/keymap.c b/src/keymap.c
index f2370225ab8..311a70f25e8 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -2379,7 +2379,8 @@ shadow_lookup (shadow, key, flag)
2379 value = Flookup_key (XCAR (tail), key, flag); 2379 value = Flookup_key (XCAR (tail), key, flag);
2380 if (NATNUMP (value)) 2380 if (NATNUMP (value))
2381 { 2381 {
2382 value = Flookup_key (XCAR (tail), Fsubstring (key, 0, value), flag); 2382 value = Flookup_key (XCAR (tail),
2383 Fsubstring (key, make_number (0), value), flag);
2383 if (!NILP (value)) 2384 if (!NILP (value))
2384 return Qnil; 2385 return Qnil;
2385 } 2386 }