From 5ba8f83ded4394bf48a034330181edb50638526a Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 12 Jan 2005 05:03:22 +0000 Subject: [PATCH] (Frequire): Record in load-history unconditionally. --- src/fns.c | 6 ++++-- 1 file 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)) -- 2.39.5