changeset 48596:65f924c09e6d

(Frequire): Don't call LOADHIST_ATTACH if feature was already provided.
author Dave Love <fx@gnu.org>
date Fri, 29 Nov 2002 20:07:36 +0000
parents 8aaba207e44b
children 7337b8a65b5c
files src/fns.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/fns.c	Fri Nov 29 18:15:21 2002 +0000
+++ b/src/fns.c	Fri Nov 29 20:07:36 2002 +0000
@@ -3245,14 +3245,14 @@
   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))