[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to get recursive load level?
From: |
Michael Heerdegen |
Subject: |
Re: How to get recursive load level? |
Date: |
Sun, 15 Sep 2013 18:15:45 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
> > I have a working, but ugly solution: to `after-load-functions' I add a
> > function like
> > (lambda (file)
> > (push (cons load-file-name file) temp-load-hist))
> [...]
> > tree. This is very fragile - can it be done better? Please also
>
> That sounds like a reasonable solution.
> There are other hacks possible, such as advising load, of course, or
> using backtrace-frame (see code around macroexp--trim-backtrace-frame).
Ok, thanks. I think I'll keep what I have, since the other hacks are
even hackier.
Regards,
Michael.