|
From: | Larry Evans |
Subject: | .emacs (load {user-init-file, custom-file} causes duplicate load of both |
Date: | Wed, 10 Nov 2010 19:14:25 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100713 Lightning/1.0b1 Thunderbird/3.0.6 |
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? uname -a shows: Linux evansl-desktop 2.6.32-24-generic #41-Ubuntu SMP Thu Aug 19 01:38:40 UTC 2010 x86_64 GNU/Linux emacs --version shows: GNU Emacs 23.1.1 Any help is appreciated. -Larry
[Prev in Thread] | Current Thread | [Next in Thread] |