docs: assume ~/.config/emacs by default
From now on, our documentation will assume your Emacs config lives in ~/.config/emacs, by default, rather than ~/.emacs.d. Support for the latter is not going away, it will simply be mentioned less in the literature, as all supported versions of Emacs going forward (and future versions of Doom) will support (and prefer) XDG conventions. The user manual will be updated separately. Close: #6965 Co-authored-by: gagbo <gagbo@users.noreply.github.com>
This commit is contained in:
parent
fe2cb5e705
commit
c1c966c811
6 changed files with 12 additions and 12 deletions
6
bin/doom
6
bin/doom
|
@ -89,9 +89,9 @@
|
|||
(user-error (message "Error: %s" (cadr e))
|
||||
(kill-emacs 2)))
|
||||
|
||||
;; UX: Abort if the user is using 'doom' as root, unless ~/.emacs.d is owned by
|
||||
;; root, in which case we assume the user genuinely wants root to be their
|
||||
;; primary user account for Emacs.
|
||||
;; UX: Abort if the user is using 'doom' as root, unless ~/.config/emacs is
|
||||
;; owned by root, in which case we assume the user genuinely wants root to be
|
||||
;; their primary user account for Emacs.
|
||||
(when (equal 0 (user-real-uid))
|
||||
(unless (equal 0 (file-attribute-user-id (file-attributes doom-emacs-dir)))
|
||||
(message
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue