nit: minor comment reformatting & revision
This commit is contained in:
parent
639fcc6a2e
commit
7acfb0c77c
5 changed files with 8 additions and 9 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 ~/.config/emacs 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 $EMACSDIR is owned by
|
||||
;; root, in which case we can safely assume the user genuinely wants root to
|
||||
;; be their primary user account for this session.
|
||||
(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