aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1993-12-23 02:04:40 +0000
committerRichard M. Stallman <[email protected]>1993-12-23 02:04:40 +0000
commit47ccd8b6efbb912b2df3e2bdc5b0671519e62ba1 (patch)
treebd617a7e11b8dbf8da43a235bedfb4d19989606f /src/eval.c
parent56b185250f28addef79e95fcb8f22ffe9a38f6b2 (diff)
(Fmacroexpand): For an autoload definition,
check the 4th elt, not the car of the 4th elt.
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/eval.c b/src/eval.c
index b7d06fb78b..1a5fc45004 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -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);