(Frequire): Don't call LOADHIST_ATTACH if feature was

already provided.
This commit is contained in:
Dave Love 2002-11-29 20:09:16 +00:00
parent bdcfe844b8
commit c02138c61e
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2002-11-29 Dave Love <fx@gnu.org>
* fns.c (Frequire): Don't call LOADHIST_ATTACH if feature was
already provided.
2002-11-29 Richard M. Stallman <rms@gnu.org>
* xdisp.c (start_display): Check more intelligently for

View file

@ -3245,14 +3245,14 @@ The normal messages at start and end of loading FILENAME are suppressed. */)
CHECK_SYMBOL (feature);
tem = Fmemq (feature, Vfeatures);
LOADHIST_ATTACH (Fcons (Qrequire, feature));
if (NILP (tem))
{
int count = SPECPDL_INDEX ();
int nesting = 0;
LOADHIST_ATTACH (Fcons (Qrequire, feature));
/* This is to make sure that loadup.el gives a clear picture
of what files are preloaded and when. */
if (! NILP (Vpurify_flag))