1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-24 06:20:43 -08:00

; * etc/NEWS: Update the text about the XDG_CONFIG_HOME/emacs behavior.

This commit is contained in:
Eli Zaretskii 2020-01-07 19:41:02 +02:00
parent 73fd8a4b53
commit a18373a999

View file

@ -164,10 +164,15 @@ and will override their traditional locations (the home directory,
"~/.emacs.d", etc.).
Emacs will still look for init files in their traditional locations if
XDG_CONFIG_HOME/emacs does not exist, so invoking Emacs with
XDG_CONFIG_HOME='/nowhere' might be useful if your new-location init
files are scrambled, or if you want to force Emacs to ignore files
under XDG_CONFIG_HOME for some other reason.
XDG_CONFIG_HOME/emacs does not exist, but ~/.emacs.d or ~/.emacs does
exist, so invoking Emacs with XDG_CONFIG_HOME='/nowhere' might be
useful if your new-location init files are scrambled, or if you want
to force Emacs to ignore files under XDG_CONFIG_HOME for some other
reason.
If neither XDG_CONFIG_HOME/emacs nor ~/.emacs.d exist, Emacs will now
default to XDG_CONFIG_HOME/emacs, and will create that directory and
set 'user-emacs-directory' to point to it.
+++
** Emacs can now be configured using an early init file.