changeset 59490:dc3b1db0bed2

(Frequire): Record in load-history unconditionally.
author Richard M. Stallman <rms@gnu.org>
date Wed, 12 Jan 2005 05:03:22 +0000
parents a72af674f3d8
children 1cf4d84c9eb7
files src/fns.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/fns.c	Wed Jan 12 04:24:20 2005 +0000
+++ b/src/fns.c	Wed Jan 12 05:03:22 2005 +0000
@@ -3443,6 +3443,10 @@
 
   CHECK_SYMBOL (feature);
 
+  /* Record the presence of `require' in this file
+     even if the feature specified is already loaded.  */
+  LOADHIST_ATTACH (Fcons (Qrequire, feature));
+
   tem = Fmemq (feature, Vfeatures);
 
   if (NILP (tem))
@@ -3450,8 +3454,6 @@
       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))