aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1992-08-05 05:18:27 +0000
committerJim Blandy1992-08-05 05:18:27 +0000
commit85bc51813ea774c76d394972dc25c6633c279ae4 (patch)
tree39d338b3c4ddde40bac057448272a117bd495c54 /src
parent73a73a38768b279ee200208ae7ec9c2db60b080b (diff)
downloademacs-85bc51813ea774c76d394972dc25c6633c279ae4.tar.gz
emacs-85bc51813ea774c76d394972dc25c6633c279ae4.zip
Clear the eighth bit of the character from the key sequence, NOT the
index of the character IN the key sequence. How many tries will it take to get it right?
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)