[Top][All Lists]

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

Re: How to get recursive load level?

From: Stefan Monnier
Subject: Re: How to get recursive load level?
Date: Sun, 15 Sep 2013 01:27:37 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> 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).


reply via email to

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