summaryrefslogtreecommitdiff
path: root/src/keymap.c
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2004-10-13 17:00:13 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2004-10-13 17:00:13 +0000
commit9ce78f7c7b5f790289266e205282d3ea3c26dda9 (patch)
tree10117ecdca43d572b0955b280a92ec71ace3688c /src/keymap.c
parent98ebf86079d11bc7e6c4345f407f228300a94c82 (diff)
downloademacs-9ce78f7c7b5f790289266e205282d3ea3c26dda9.tar.gz
(get_keymap): An autoload form is not a keymap.
Diffstat (limited to 'src/keymap.c')
-rw-r--r--src/keymap.c3
1 files changed, 2 insertions, 1 deletions
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;