[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Show who is requiring
From: |
Stefan Monnier |
Subject: |
Re: Show who is requiring |
Date: |
Mon, 19 Nov 2012 11:03:59 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
>> > 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?
>> IIUC you want load-file-name.
> How does this report the names of files that require another package?
IIUC he has put an advice on `require', so in this advice,
`load-file-name' should contain the name of the code that's calling the
`require'.
Stefan
- Re: Show who is requiring, (continued)
- Re: Show who is requiring, Oleksandr Gavenko, 2012/11/17
- Message not available
- Re: Show who is requiring, Sebastien Vauban, 2012/11/17
- Re: Show who is requiring, Eli Zaretskii, 2012/11/17
- Re: Show who is requiring, Thien-Thi Nguyen, 2012/11/17
- Re: Show who is requiring, Eli Zaretskii, 2012/11/17
- Re: Show who is requiring, Thien-Thi Nguyen, 2012/11/17
RE: Show who is requiring, Drew Adams, 2012/11/17
Re: Show who is requiring, Stefan Monnier, 2012/11/19
Re: Show who is requiring, Kevin Rodgers, 2012/11/19