changeset 2596:ee5b45777c6f

(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.
author Eric S. Raymond <esr@snark.thyrsus.com>
date Tue, 27 Apr 1993 21:59:59 +0000
parents 6a1ad0661928
children 562d2dea4f05
files src/eval.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/eval.c	Tue Apr 27 21:59:55 1993 +0000
+++ b/src/eval.c	Tue Apr 27 21:59:59 1993 +0000
@@ -1391,6 +1391,7 @@
   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 @@
 	  Fput(first, Qautoload, (Fcdr (second)));
       queue = Fcdr (queue);
     }
+#endif /* UNLOAD */
 
   /* Once loading finishes, don't undo it.  */
   Vautoload_queue = Qt;