I have multiple installations of emacs on my Windows 7 computer, each configured slightly differently. Let's say installation1
and installation2
, where installation1
is the main emacs, and installation2
is subsidiary.
I would like to maintain two sets of .emacs
files and .emacs.d.
directories, such that installation1
looks for it in the default HOME
or %appdata%
directory (C-x C-f ~/.emacs
RET), but that installation2
cannot find the .emacs
file in these directories at all. That is, I would like installation2
to not look in the HOME
or %appdata%
locations for the .emacs.d
directory or .emacs
file. Ideally, this would be implemented by redefining the ~
expansion for installation2
.
I guess I could have a (add-to-list 'load-path "C:/installation2-location/.emacs.d/lisp/")
and save it to a .emacs
file in the same directory as the installation2
emacs executable, but I am not sure that this is a robust solution.
Suggestions welcome.