From: Richard M. Stallman Date: Wed, 12 Jan 2005 05:03:22 +0000 (+0000) Subject: (Frequire): Record in load-history unconditionally. X-Git-Tag: ttn-vms-21-2-B4~2805 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5ba8f83ded4394bf48a034330181edb50638526a;p=emacs.git (Frequire): Record in load-history unconditionally. --- 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))