]> code.delx.au - gnu-emacs/commitdiff
(Frequire): Record in load-history unconditionally.
authorRichard M. Stallman <rms@gnu.org>
Wed, 12 Jan 2005 05:03:22 +0000 (05:03 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 12 Jan 2005 05:03:22 +0000 (05:03 +0000)
src/fns.c

index b163223803c7a91f7b4caa1eed6ebd0aa713afe9..3f92a0e0bfbcb3a03bb8f279b00fcff720ad5a7e 100644 (file)
--- a/src/fns.c
+++ b/src/fns.c
@@ -3443,6 +3443,10 @@ The normal messages at start and end of loading FILENAME are suppressed.  */)
 
   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 @@ The normal messages at start and end of loading FILENAME are suppressed.  */)
       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))