changeset 24165:f3f396ac2407

(read_key_sequence): Fix previous change.
author Richard M. Stallman <rms@gnu.org>
date Sun, 24 Jan 1999 20:08:10 +0000
parents 1f8d4cb55bd6
children 3d25e1fc71aa
files src/keyboard.c
diffstat 1 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Sun Jan 24 20:07:05 1999 +0000
+++ b/src/keyboard.c	Sun Jan 24 20:08:10 1999 +0000
@@ -7404,18 +7404,18 @@
 		= get_keyelt (access_keymap (fkey_next, key, 1, 0), 1);
 
 	      /* Handle symbol with autoload definition.  */
-	      if (SYMBOLP (keytran_next) && ! NILP (Ffboundp (keytran_next))
-		  && CONSP (XSYMBOL (keytran_next)->function)
-		  && EQ (XCONS (XSYMBOL (keytran_next)->function)->car, Qautoload))
-		do_autoload (XSYMBOL (keytran_next)->function,
-			     keytran_next);
+	      if (SYMBOLP (fkey_next) && ! NILP (Ffboundp (fkey_next))
+		  && CONSP (XSYMBOL (fkey_next)->function)
+		  && EQ (XCONS (XSYMBOL (fkey_next)->function)->car, Qautoload))
+		do_autoload (XSYMBOL (fkey_next)->function,
+			     fkey_next);
 
 	      /* Handle a symbol whose function definition is a keymap
 		 or an array.  */
-	      if (SYMBOLP (keytran_next) && ! NILP (Ffboundp (keytran_next))
-		  && (!NILP (Farrayp (XSYMBOL (keytran_next)->function))
-		      || !NILP (Fkeymapp (XSYMBOL (keytran_next)->function))))
-		keytran_next = XSYMBOL (keytran_next)->function;
+	      if (SYMBOLP (fkey_next) && ! NILP (Ffboundp (fkey_next))
+		  && (!NILP (Farrayp (XSYMBOL (fkey_next)->function))
+		      || !NILP (Fkeymapp (XSYMBOL (fkey_next)->function))))
+		fkey_next = XSYMBOL (fkey_next)->function;
 
 #if 0 /* I didn't turn this on, because it might cause trouble
 	 for the mapping of return into C-m and tab into C-i.  */