]> git.eshelyaron.com Git - emacs.git/commit
Use XDG conventions more consistently
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 27 Aug 2019 21:21:45 +0000 (14:21 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 27 Aug 2019 21:49:30 +0000 (14:49 -0700)
commit4118297ae2fab4886b20d193ba511a229637aea3
tree3343e13fc50cdfbe80b790a8ead9539fc7592a3e
parentfa41fa70f1ed0bb392328f84388b803ddef7f6d9
Use XDG conventions more consistently

Fit in better with the XDG conventions.
Something like this was suggested in 2008 (Bug#583)
and the XDG conventions seem to have settled down by now.
* doc/emacs/custom.texi (Init File, Init Syntax, Find Init):
* doc/lispref/files.texi (Standard File Names):
* doc/lispref/os.texi (Init File):
* doc/misc/url.texi (Customization):
* etc/NEWS:
Adjust accordingly.
* lisp/startup.el (startup--load-user-init-file):
If init-file-name is nil, do not load from it; instead
just use the alt-file.
(find-init-path): Remove; no longer used.
(command-line): Don't check twice for XDG.
Look at XDG_CONFIG_HOME instead of assuming it's ~/.config.
Prefer XDG configuration if it exists; the user can disable
this by setting XDG_CONFIG_HOME to some other place.
* lisp/subr.el (user-emacs-directory):
Prefer XDG configuration if it exists.
doc/emacs/custom.texi
doc/lispref/files.texi
doc/lispref/os.texi
doc/misc/url.texi
etc/NEWS
lisp/startup.el
lisp/subr.el