From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: load-history is incorrect
Date: Tue, 11 Jan 2005 09:29:46 -0500 [thread overview]
Message-ID: <E1CoN1m-0000fw-2t@fencepost.gnu.org> (raw)
In-Reply-To: <DNEMKBNJBGPAOPIJOOICEEMJCAAA.drew.adams@oracle.com>
In Emacs 20, each explicit `require' in a library is reflected
in the entry for that library in variable `load-history'.
In Emacs 21, the `load-history' seems to be seriously flawed
(unless there is some change in the semantics that is not
reflected by the doc string). Many explicit requires for a
library are not listed in the library's entry in load-history.
What do people think of this change?
*** fns.c 27 Dec 2004 12:44:41 -0500 1.380
--- fns.c 10 Jan 2005 18:12:38 -0500
***************
*** 3443,3456 ****
CHECK_SYMBOL (feature);
tem = Fmemq (feature, Vfeatures);
if (NILP (tem))
{
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. */
--- 3443,3458 ----
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))
{
int count = SPECPDL_INDEX ();
int nesting = 0;
/* This is to make sure that loadup.el gives a clear picture
of what files are preloaded and when. */
next parent reply other threads:[~2005-01-11 14:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <DNEMKBNJBGPAOPIJOOICEEMJCAAA.drew.adams@oracle.com>
2005-01-11 14:29 ` Richard Stallman [this message]
2005-01-11 15:40 ` load-history is incorrect Stefan Monnier
[not found] <MEEKKIABFKKDFJMPIOEBEEKACIAA.drew.adams@oracle.com>
2005-01-01 5:25 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1CoN1m-0000fw-2t@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.