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

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

Re: Get report on which files are loading


From: Kai Großjohann
Subject: Re: Get report on which files are loading
Date: Sun, 18 May 2003 17:45:08 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Harry Putnam <reader@newsguy.com> writes:

> I don't understand why.  But to compensate for that lack of report I
> put this at the end of site-start.el:
>
>   (message "finished loading => 
> /usr/local/share/emacs/site-lisp/site-start.el") (sit-for 1)
>
> What I wanted to know was how to change that line so I don't have to
> put the absolute filename manually.  In other words. How to make the
> last `message' line above report absolute filename by itself
>  (message "finished loading => "(SOMETHING HERE TO REPORT FILE NAME) (sit-for 
> 1))

Ah!  That's what you want.  Sorry, I misunderstood.

I don't know how to find out the file name you're in.  But you can
add the full path of site-start.el, like so:

(message "finished loading => %s" (locate-library "site-start"))

-- 
This line is not blank.


reply via email to

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