From: Kim F. Storm Date: Wed, 12 Jul 2006 13:19:04 +0000 (+0000) Subject: (access_keymap_keyremap): Use ARRAYP. X-Git-Tag: emacs-pretest-22.0.90~1503 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=592c0e80abf8f67b287f95e258b2ca76bdbc70d7;p=emacs.git (access_keymap_keyremap): Use ARRAYP. --- diff --git a/src/keyboard.c b/src/keyboard.c index 5e808739d6b..6bd9d754c60 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -8384,7 +8384,7 @@ access_keymap_keyremap (map, key, prompt, do_funcall) /* Handle a symbol whose function definition is a keymap or an array. */ if (SYMBOLP (next) && !NILP (Ffboundp (next)) - && (!NILP (Farrayp (XSYMBOL (next)->function)) + && (ARRAYP (XSYMBOL (next)->function) || KEYMAPP (XSYMBOL (next)->function))) next = XSYMBOL (next)->function;