Commit 9ce78f7c authored by Stefan Monnier's avatar Stefan Monnier

(get_keymap): An autoload form is not a keymap.

parent 98ebf860
......@@ -267,7 +267,8 @@ get_keymap (object, error, autoload)
/* Should we do an autoload? Autoload forms for keymaps have
Qkeymap as their fifth element. */
if ((autoload || !error) && EQ (XCAR (tem), Qautoload))
if ((autoload || !error) && EQ (XCAR (tem), Qautoload)
&& SYMBOLP (object))
Lisp_Object tail;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment