Subject: bug#49424: 27.2; Misdocumented default initialisation file

From: Peter Oliver <[email-masked]>
Date: Wed, 7 Jul 2021 18:58:57 +0100 (BST)

On Wed, 7 Jul 2021, Robert Pluim wrote:

> If nothing exists, Emacs will create ~/.emacs.d, and use ~/.emacs as
> the init file. We can change that to use ~/.emacs.d/init.el if we
> want, people who already have init files will not be affected.

Sounds good to me.

If we’re making a change, here, it may be worth going all the way: create $XDG_CONFIG_HOME/emacs if it and ~/.emacs.d don’t exist, and hence use $XDG_CONFIG_HOME/emacs/init.el when creating a new initialisation file.

-- 
Peter Oliver