help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Show who is requiring


From: Kevin Rodgers
Subject: Re: Show who is requiring
Date: Mon, 19 Nov 2012 08:54:28 -0700
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20

On 11/16/12 4:08 PM, Sebastien Vauban wrote:
Hello,

I'd like to advice `require' in order to show which package is making the call
to require another one.

I tried using (current-buffer) to get the name of the "source" package (i.e.,
the one which makes the `require' request), but that's wrong. Any idea how to
get the name of the "caller" package?

I think the `load-file-name' variable has that information.

--
Kevin Rodgers
Denver, Colorado, USA




reply via email to

[Prev in Thread] Current Thread [Next in Thread]