From: Lawrence Mitchell <wence@gmx.li>
Subject: Re: How to tell which *.el file loaded?
Date: Wed, 26 May 2004 10:38:04 +0100 [thread overview]
Message-ID: <?fnord?87lljf4jgj.fsf@ID-97657.usr.dfncis.de> (raw)
In-Reply-To: c91mju$i11$1@reader2.panix.com
bill wrote:
> Is there a simple way to confirm which of several possible foo.el
> files in the system was loaded by (require 'foo) ? (I'm thinking
> along the lines of something I can stick in the desired foo.el that
> will confirm to me that it was it that was loaded by (require 'foo)
> .)
Doing (locate-library "foo") will tell you which foo.el or
foo.elc Emacs found. Emacs prefers byte-compiled (foo.elc) over
source (foo.el) files, so, should you modify foo.el, and a
foo.elc exists, you'll have to recompile it.
You can also look at the output of
M-x list-load-path-shadows RET
--
Lawrence Mitchell <wence@gmx.li>
next prev parent reply other threads:[~2004-05-26 9:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-26 9:05 How to tell which *.el file loaded? bill
2004-05-26 9:38 ` Lawrence Mitchell [this message]
2004-05-26 9:43 ` Kai Grossjohann
[not found] ` <mailman.7474.1085565100.1061.help-gnu-emacs@gnu.org>
2004-05-26 15:43 ` Kevin Rodgers
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='?fnord?87lljf4jgj.fsf@ID-97657.usr.dfncis.de' \
--to=wence@gmx.li \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).