1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-30 17:10:51 -08:00

(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.
This commit is contained in:
Eric S. Raymond 1993-04-27 21:59:59 +00:00
parent ca9c75792e
commit ac669fa2a9

View file

@ -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;