From ac669fa2a99d847823f1a355bde6dbfa654a5fda Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 27 Apr 1993 21:59:59 +0000 Subject: [PATCH] (un_autoload): Don't try to save old autoload forms when we load something in. Something about the code now conditioned out by UNLOAD was screwing up ordinary autoloads, notably of picture.el. When I figure out what, I'll fix and re-enable this code. --- src/eval.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/eval.c b/src/eval.c index d12cf8d9fa..445ff08816 100644 --- a/src/eval.c +++ b/src/eval.c @@ -1391,6 +1391,7 @@ do_autoload (fundef, funname) Vautoload_queue = Qt; Fload (Fcar (Fcdr (fundef)), Qnil, noninteractive ? Qt : Qnil, Qnil); +#ifdef UNLOAD /* Save the old autoloads, in case we ever do an unload. */ queue = Vautoload_queue; while (CONSP (queue)) @@ -1402,6 +1403,7 @@ do_autoload (fundef, funname) Fput(first, Qautoload, (Fcdr (second))); queue = Fcdr (queue); } +#endif /* UNLOAD */ /* Once loading finishes, don't undo it. */ Vautoload_queue = Qt; -- 2.39.2