aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 96a1e0620b8..bffff668c8c 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -2726,11 +2726,11 @@ read_key_sequence (keybuf, bufsize, prompt)
2726 2726
2727 fkey_next = 2727 fkey_next =
2728 get_keyelt (access_keymap 2728 get_keyelt (access_keymap
2729 (fkey_next, keybuf[(fkey_end++) & 0x7f])); 2729 (fkey_next, keybuf[fkey_end++] & 0x7f));
2730 2730
2731 /* If keybuf[fkey_start..fkey_next] is bound in the 2731 /* If keybuf[fkey_start..fkey_end] is bound in the
2732 function key map and it's a suffix of the current 2732 function key map and it's a suffix of the current
2733 sequence (i.e. fkey_next == t), replace it with 2733 sequence (i.e. fkey_end == t), replace it with
2734 the binding and restart with fkey_start at the end. */ 2734 the binding and restart with fkey_start at the end. */
2735 if (XTYPE (fkey_next) == Lisp_Vector 2735 if (XTYPE (fkey_next) == Lisp_Vector
2736 && fkey_end == t) 2736 && fkey_end == t)