[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: .emacs (load {user-init-file, custom-file} causes duplicate load of
From: |
David Kastrup |
Subject: |
Re: .emacs (load {user-init-file, custom-file} causes duplicate load of both |
Date: |
Wed, 08 Dec 2010 15:35:28 -0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Larry Evans <cppljevans@suddenlink.net> writes:
> My ~/.emacs file contains (amoung other things):
>
> ---{~/.emacs---
> (setq user-init-file
> (expand-file-name "init.el"
> (expand-file-name ".emacs.d" "~")))
> (setq custom-file
> (expand-file-name "custom.el"
> (expand-file-name ".xemacs" "~")))
> (load-file user-init-file)
> (load-file custom-file)
> ---}~/.emacs---
>
> When started with this, the *messages* buffer contains:
>
> ---{*messages---
> Loading /home/evansl/.emacs.d/init.el (source)...
> Loading /home/evansl/.recentf...done
> Cleaning up the recentf list...done (0 removed)
> Loading /home/evansl/.emacs.d/init.el (source)...done
> Loading /home/evansl/.xemacs/custom.el (source)...
> Loading desktop...done
> Loading /home/evansl/.xemacs/custom.el (source)...done
> ---}*messages---
>
> Why are both user-init-file and custom-file both loaded twice?
What makes you think they are loaded twice? I see one message line when
the load begins, and one when it ends (the one with ...done). They are
not compressed into a single line because other messages intervene.
--
David Kastrup
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: .emacs (load {user-init-file, custom-file} causes duplicate load of both,
David Kastrup <=