]> git.eshelyaron.com Git - emacs.git/commitdiff
(get_keymap): An autoload form is not a keymap.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 13 Oct 2004 17:00:13 +0000 (17:00 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 13 Oct 2004 17:00:13 +0000 (17:00 +0000)
src/keymap.c

index 92cb6902a1e827a4eb333a15e249ffdb86567570..105a5b957934c04448f703cc0ead2673685848aa 100644 (file)
@@ -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;