changeset 67867:1aab16a65448

(do_autoload): Ignore elements of Vautoload_queue where car is not symbol.
author Richard M. Stallman <rms@gnu.org>
date Wed, 28 Dec 2005 02:08:03 +0000
parents 118a244408d9
children 478378ca909b
files src/eval.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/eval.c	Wed Dec 28 02:02:23 2005 +0000
+++ b/src/eval.c	Wed Dec 28 02:08:03 2005 +0000
@@ -2069,7 +2069,7 @@
       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);