diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2004-10-13 17:00:13 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2004-10-13 17:00:13 +0000 |
commit | 9ce78f7c7b5f790289266e205282d3ea3c26dda9 (patch) | |
tree | 10117ecdca43d572b0955b280a92ec71ace3688c /src/keymap.c | |
parent | 98ebf86079d11bc7e6c4345f407f228300a94c82 (diff) | |
download | emacs-9ce78f7c7b5f790289266e205282d3ea3c26dda9.tar.gz |
(get_keymap): An autoload form is not a keymap.
Diffstat (limited to 'src/keymap.c')
-rw-r--r-- | src/keymap.c | 3 |
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; |