diff options
author | Richard M. Stallman <rms@gnu.org> | 2005-01-12 05:03:22 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2005-01-12 05:03:22 +0000 |
commit | 5ba8f83ded4394bf48a034330181edb50638526a (patch) | |
tree | 6b8c2da3606f02f3e38f2478964990a020f65fcc /src/fns.c | |
parent | 1b8d07559d30c3ce3229f7119ee9f06177ec8224 (diff) |
(Frequire): Record in load-history unconditionally.
Diffstat (limited to 'src/fns.c')
-rw-r--r-- | src/fns.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fns.c b/src/fns.c index b163223803c..3f92a0e0bfb 100644 --- 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)) |