summaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2005-12-28 02:09:45 +0000
committerRichard M. Stallman <rms@gnu.org>2005-12-28 02:09:45 +0000
commitfe5195e82e767505b65abebb9b7c26d6e0723d8a (patch)
treec71dda9ff2baedbccf8b94c880ff335a267ef18b /src/eval.c
parent84116a137cedf0968d3717bb4100441677298d2f (diff)
downloademacs-fe5195e82e767505b65abebb9b7c26d6e0723d8a.tar.gz
(do_autoload): Ignore elements of Vautoload_queue where car is not symbol.
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index ba70412edaf..a6c58bc2425 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -2069,7 +2069,7 @@ do_autoload (fundef, funname)
second = Fcdr (first);
first = Fcar (first);
- if (CONSP (second) && EQ (XCAR (second), Qautoload))
+ if (SYMBOLP (first) && CONSP (second) && EQ (XCAR (second), Qautoload))
Fput (first, Qautoload, (XCDR (second)));
queue = XCDR (queue);