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

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

Re: ~/.emacs vs ~/.emacs.d/init.el.


From: Yuri Khan
Subject: Re: ~/.emacs vs ~/.emacs.d/init.el.
Date: Sun, 13 Dec 2020 17:09:04 +0700

On Sun, 13 Dec 2020 at 16:00, Hongyi Zhao <hongyi.zhao@gmail.com> wrote:

> As far as the initialization file is concerned, which is more
> preferable,~/.emacs or ~/.emacs.d/init.el?

If you are choosing between these two, ~/.emacs.d/init.el is
preferable. Because then you can put the whole .emacs.d into version
control separately from your home directory.

However keep in mind that Emacs 27 adds support for XDG-style
configuration directory, ~/.config/emacs/, which gives you the same
abilities as ~/.emacs.d with an added benefit of less clutter in your
home directory.



reply via email to

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