Mercurial > emacs
changeset 31554:8a8d8035d369
(Fload): Put code checking for recursive loads in #if 0.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 12 Sep 2000 10:58:42 +0000 |
parents | c26265a22302 |
children | a1b90be8f105 |
files | src/lread.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lread.c Tue Sep 12 09:10:56 2000 +0000 +++ b/src/lread.c Tue Sep 12 10:58:42 2000 +0000 @@ -708,6 +708,10 @@ return call5 (handler, Qload, found, noerror, nomessage, Qt); } +#if 0 /* This is a good idea, but it doesn't quite work. + While compiling files, `provide's seem to not be evaluated. + Let's come back to this when there's more time. */ + /* Check if we're loading this file again while another load of the same file is already in progress. */ if (!NILP (Fmember (found, Vloads_in_progress))) @@ -715,6 +719,7 @@ Fcons (found, Vloads_in_progress))); record_unwind_protect (record_load_unwind, Vloads_in_progress); Vloads_in_progress = Fcons (found, Vloads_in_progress); +#endif /* 0 */ /* Load .elc files directly, but not when they are remote and have no handler! */