diff options
| author | Eric S. Raymond | 1993-04-27 21:59:59 +0000 |
|---|---|---|
| committer | Eric S. Raymond | 1993-04-27 21:59:59 +0000 |
| commit | ac669fa2a99d847823f1a355bde6dbfa654a5fda (patch) | |
| tree | cb698aa1c81e8cd90006ab4320df5b0baec96fa5 /src | |
| parent | ca9c75792e0ea47196f75ec861d93d2fde88d38e (diff) | |
| download | emacs-ac669fa2a99d847823f1a355bde6dbfa654a5fda.tar.gz emacs-ac669fa2a99d847823f1a355bde6dbfa654a5fda.zip | |
(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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eval.c b/src/eval.c index d12cf8d9fae..445ff088164 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -1391,6 +1391,7 @@ do_autoload (fundef, funname) | |||
| 1391 | Vautoload_queue = Qt; | 1391 | Vautoload_queue = Qt; |
| 1392 | Fload (Fcar (Fcdr (fundef)), Qnil, noninteractive ? Qt : Qnil, Qnil); | 1392 | Fload (Fcar (Fcdr (fundef)), Qnil, noninteractive ? Qt : Qnil, Qnil); |
| 1393 | 1393 | ||
| 1394 | #ifdef UNLOAD | ||
| 1394 | /* Save the old autoloads, in case we ever do an unload. */ | 1395 | /* Save the old autoloads, in case we ever do an unload. */ |
| 1395 | queue = Vautoload_queue; | 1396 | queue = Vautoload_queue; |
| 1396 | while (CONSP (queue)) | 1397 | while (CONSP (queue)) |
| @@ -1402,6 +1403,7 @@ do_autoload (fundef, funname) | |||
| 1402 | Fput(first, Qautoload, (Fcdr (second))); | 1403 | Fput(first, Qautoload, (Fcdr (second))); |
| 1403 | queue = Fcdr (queue); | 1404 | queue = Fcdr (queue); |
| 1404 | } | 1405 | } |
| 1406 | #endif /* UNLOAD */ | ||
| 1405 | 1407 | ||
| 1406 | /* Once loading finishes, don't undo it. */ | 1408 | /* Once loading finishes, don't undo it. */ |
| 1407 | Vautoload_queue = Qt; | 1409 | Vautoload_queue = Qt; |