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

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

Re: Alternate init file, take two


From: David Hansen
Subject: Re: Alternate init file, take two
Date: Tue, 20 Sep 2005 10:48:41 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

On Tue, 20 Sep 2005 09:32:57 +0200 Mathias Dahl wrote:

> August Karlstrom <fusionfive@comhem.se> writes:
>
>> Henrik Enberg wrote:
>>>>
>>>> Is there a way to instruct Emacs to use an alternative
>>>> initialization file, something like
>>>>
>>>>    $ emacs --init-file=~/.emacs2
>>> emacs -q --load ~/.emacs2
>>
> One problem with this solution is that any customizations the user
> might do (using M-x customize), will be saved to ~/.emacs and not the
> alternative init file.

(setq custom-file "~/.emacs-custom.el")

[...]

(load custom-file t)

David


reply via email to

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