[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: loading site start before .emacs
From: |
Harry Putnam |
Subject: |
Re: loading site start before .emacs |
Date: |
Tue, 18 May 2004 09:07:06 -0500 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) |
Micha Feigin <michf@post.tau.ac.il> writes:
> preview-latex is loaded automatically by the site file, so when I open
> new latex files it is available.
>
> When using desktop, unless I add (load "preview-latex") before
> desktop-read then preview latex is not available for latex files opened
> by desktop for some reason.
Here is something stolen from Kai G that might help, it leaves a
message in `*Messages*' when something loads:
Put it early in site-start.el
;; make loaded files give a message [from Kai]
(defadvice load (before debug-log activate)
(message "(Tip from Kai G): Now loading: %s" (locate-library (ad-get-arg 0))))
Might unravel what is loading when.
Re: loading site start before .emacs, Stefan Monnier, 2004/05/18