diff options
| author | Gerd Moellmann | 2000-09-12 10:58:42 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-09-12 10:58:42 +0000 |
| commit | 6a69efd78eec60b8e287515608b0e2d1acc3ce7e (patch) | |
| tree | 86e42b280be8c2536759c0dc7a7168f704be91ce /src | |
| parent | 71246c2c413eb58740c779dce6b2cc37602252a6 (diff) | |
| download | emacs-6a69efd78eec60b8e287515608b0e2d1acc3ce7e.tar.gz emacs-6a69efd78eec60b8e287515608b0e2d1acc3ce7e.zip | |
(Fload): Put code checking for recursive loads in #if 0.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lread.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lread.c b/src/lread.c index 3a0acdd104f..29eb06c501e 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -708,6 +708,10 @@ Return t if file exists.") | |||
| 708 | return call5 (handler, Qload, found, noerror, nomessage, Qt); | 708 | return call5 (handler, Qload, found, noerror, nomessage, Qt); |
| 709 | } | 709 | } |
| 710 | 710 | ||
| 711 | #if 0 /* This is a good idea, but it doesn't quite work. | ||
| 712 | While compiling files, `provide's seem to not be evaluated. | ||
| 713 | Let's come back to this when there's more time. */ | ||
| 714 | |||
| 711 | /* Check if we're loading this file again while another load | 715 | /* Check if we're loading this file again while another load |
| 712 | of the same file is already in progress. */ | 716 | of the same file is already in progress. */ |
| 713 | if (!NILP (Fmember (found, Vloads_in_progress))) | 717 | if (!NILP (Fmember (found, Vloads_in_progress))) |
| @@ -715,6 +719,7 @@ Return t if file exists.") | |||
| 715 | Fcons (found, Vloads_in_progress))); | 719 | Fcons (found, Vloads_in_progress))); |
| 716 | record_unwind_protect (record_load_unwind, Vloads_in_progress); | 720 | record_unwind_protect (record_load_unwind, Vloads_in_progress); |
| 717 | Vloads_in_progress = Fcons (found, Vloads_in_progress); | 721 | Vloads_in_progress = Fcons (found, Vloads_in_progress); |
| 722 | #endif /* 0 */ | ||
| 718 | 723 | ||
| 719 | /* Load .elc files directly, but not when they are | 724 | /* Load .elc files directly, but not when they are |
| 720 | remote and have no handler! */ | 725 | remote and have no handler! */ |