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

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

Re: Tracing what is loading


From: Dmitry Dzhus
Subject: Re: Tracing what is loading
Date: Sun, 07 Dec 2008 13:01:41 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Harry Putnam wrote:
> I hope I've used good judgement here.  I'm running 23 but the question
> is so basic I thought better to keep the line noise off the devel list
> and ask here.
>
> How can I ensure that some specific code of my choosing is loaded at
> the earliest possible point when emacs starts.
>
> What I want to do is load something like this:
>
> ;;[Tip from Kai G] make loaded files give a message
>  (defadvice load (before debug-log activate)
> (message "Now loading: %s" (locate-library (ad-get-arg 0))))
>
> That will tell exactly what is loading and in what order.
>
> Maybe there is a better or hopefully simpler way like possibly
> compiling something directly into the binary when it is compiled.
>
>
>
See `emacs-startup-hook` and other (info "(elisp) Standard Hooks")
-- 
Happy Hacking.

http://sphinx.net.ru

reply via email to

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