]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fmacroexpand): For an autoload definition,
authorRichard M. Stallman <rms@gnu.org>
Thu, 23 Dec 1993 02:04:40 +0000 (02:04 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 23 Dec 1993 02:04:40 +0000 (02:04 +0000)
check the 4th elt, not the car of the 4th elt.

src/eval.c

index b7d06fb78b90e8e93ddd7e18b8fe9f0b43155d8a..1a5fc45004f16dbf7111e62b8e0bbf36dc533070 100644 (file)
@@ -809,8 +809,7 @@ definitions to shadow the loaded ones for use in file byte-compilation.")
            {
              /* Autoloading function: will it be a macro when loaded?  */
              tem = Fnth (make_number (4), def);
-             if (EQ (XCONS (tem)->car, Qt)
-                 || EQ (XCONS (tem)->car, Qmacro))
+             if (EQ (tem, Qt) || EQ (tem, Qmacro))
                /* Yes, load it and try again.  */
                {
                  do_autoload (def, sym);