[Top][All Lists]

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

Re: How to specify path to .emacs.d

From: Barry OReilly
Subject: Re: How to specify path to .emacs.d
Date: Tue, 30 Oct 2012 18:53:02 -0400

>"Nicolas Richard" <address@hidden> writes:
>> Barry OReilly <address@hidden> writes:
>>> Specifying a .emacs.d location as a command line flag would be a big
>>> help.
>> You could use apropos-value to list all variables which refer to
>> .emacs.d and then modify those from command line using --eval (although
>> sometimes that directory is hardcoded, e.g. in startup.el as a fallback
>> value). In particular, user-emacs-directory is of interest, and I'd
>> trying changing it, then run apropos-value to see what remains.
>`user-emacs-directory' is a defconst.

I removed ~/.emacs.d, verified no ~/.emacs, executed:
   emacs --eval '(setq user-emacs-directory "my/path/.emacs.d/")'

It did not work.  More precisely, Emacs did not load my/path/.emacs.d/init.el .  C-h v does show that user-emacs-directory has the /my/path/.emacs.d value, however.

reply via email to

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