Skip to content

Commit a18373a

Browse files
committed
; * etc/NEWS: Update the text about the XDG_CONFIG_HOME/emacs behavior.
1 parent 73fd8a4 commit a18373a

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

etc/NEWS

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,15 @@ and will override their traditional locations (the home directory,
164164
"~/.emacs.d", etc.).
165165

166166
Emacs will still look for init files in their traditional locations if
167-
XDG_CONFIG_HOME/emacs does not exist, so invoking Emacs with
168-
XDG_CONFIG_HOME='/nowhere' might be useful if your new-location init
169-
files are scrambled, or if you want to force Emacs to ignore files
170-
under XDG_CONFIG_HOME for some other reason.
167+
XDG_CONFIG_HOME/emacs does not exist, but ~/.emacs.d or ~/.emacs does
168+
exist, so invoking Emacs with XDG_CONFIG_HOME='/nowhere' might be
169+
useful if your new-location init files are scrambled, or if you want
170+
to force Emacs to ignore files under XDG_CONFIG_HOME for some other
171+
reason.
172+
173+
If neither XDG_CONFIG_HOME/emacs nor ~/.emacs.d exist, Emacs will now
174+
default to XDG_CONFIG_HOME/emacs, and will create that directory and
175+
set 'user-emacs-directory' to point to it.
171176

172177
+++
173178
** Emacs can now be configured using an early init file.

0 commit comments

Comments
 (0)