[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to specify customized configuration file rather than "~/.emacs"
From: |
Jambunathan K |
Subject: |
Re: How to specify customized configuration file rather than "~/.emacs" ? |
Date: |
Thu, 13 Sep 2012 19:42:59 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
Z C <zcnnbb@gmail.com> writes:
> I just want emacs to load another file as the configuration file, and
> ignore the default file ("~/.emacs").
>
> Note that I don't want to change the original "~/.emacs" file.
>
> I've tried to change "$HOME" env variable, but it doesn't work.
>
Load emacs with custom options.
,----
| $ emacs --help | grep load
|
| --no-desktop do not load a saved desktop
| --no-init-file, -q load neither ~/.emacs nor default.el
| --no-site-file do not load site-start.el
| --user, -u USER load ~USER/.emacs instead of your own
| --directory, -L DIR add DIR to variable load-path
| --load, -l FILE load Emacs Lisp FILE using the load function
`----
--