summaryrefslogtreecommitdiff
path: root/src/fns.c
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2002-11-29 20:09:16 +0000
committerDave Love <fx@gnu.org>2002-11-29 20:09:16 +0000
commitc02138c61e07a2c13f266af4ff708277390a411b (patch)
treeb5031f0c38624995ac8f4a27d41cc1ee8ad8e0f5 /src/fns.c
parentbdcfe844b873dcf3504a8381957a74a0874cf0a1 (diff)
downloademacs-c02138c61e07a2c13f266af4ff708277390a411b.tar.gz
(Frequire): Don't call LOADHIST_ATTACH if feature was
already provided.
Diffstat (limited to 'src/fns.c')
-rw-r--r--src/fns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fns.c b/src/fns.c
index 3774aeb9409..ce8efbfbcd1 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -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))