From: Stefan Monnier Date: Wed, 13 Oct 2004 17:00:13 +0000 (+0000) Subject: (get_keymap): An autoload form is not a keymap. X-Git-Tag: ttn-vms-21-2-B4~4586 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9ce78f7c7b5f790289266e205282d3ea3c26dda9;p=emacs.git (get_keymap): An autoload form is not a keymap. --- diff --git a/src/keymap.c b/src/keymap.c index 92cb6902a1e..105a5b95793 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -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;