# HG changeset patch # User Richard M. Stallman # Date 1105506202 0 # Node ID dc3b1db0bed20fb1e44890152fbb5b842e60bc7a # Parent a72af674f3d8c6f1ab9646a519284758bb911d2f (Frequire): Record in load-history unconditionally. diff -r a72af674f3d8 -r dc3b1db0bed2 src/fns.c --- 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))