aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric S. Raymond <[email protected]>1993-04-27 21:59:59 +0000
committerEric S. Raymond <[email protected]>1993-04-27 21:59:59 +0000
commitac669fa2a99d847823f1a355bde6dbfa654a5fda (patch)
treecb698aa1c81e8cd90006ab4320df5b0baec96fa5 /src
parentca9c75792e0ea47196f75ec861d93d2fde88d38e (diff)
(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.
Diffstat (limited to 'src')
-rw-r--r--src/eval.c2
1 files changed, 2 insertions, 0 deletions
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;