(access_keymap_keyremap): Use ARRAYP.

This commit is contained in:
Kim F. Storm
2006-07-12 13:19:04 +00:00
parent 7fee0b5168
commit 592c0e80ab

View File

@@ -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;