changeset 939:c4dcdc9aed70

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?
author Jim Blandy <jimb@redhat.com>
date Wed, 05 Aug 1992 05:18:27 +0000
parents 7a14bb062617
children 32f59f790757
files src/keyboard.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Wed Aug 05 05:01:42 1992 +0000
+++ b/src/keyboard.c	Wed Aug 05 05:18:27 1992 +0000
@@ -2726,11 +2726,11 @@
 
 	      fkey_next =
 		get_keyelt (access_keymap
-			    (fkey_next, keybuf[(fkey_end++) & 0x7f]));
-
-	      /* If keybuf[fkey_start..fkey_next] is bound in the
+			    (fkey_next, keybuf[fkey_end++] & 0x7f));
+
+	      /* If keybuf[fkey_start..fkey_end] is bound in the
 		 function key map and it's a suffix of the current
-		 sequence (i.e. fkey_next == t), replace it with
+		 sequence (i.e. fkey_end == t), replace it with
 		 the binding and restart with fkey_start at the end. */
 	      if (XTYPE (fkey_next) == Lisp_Vector
 		  && fkey_end == t)