tweak: emit feedback when started in daemon mode
This commit is contained in:
parent
f8274f208c
commit
0d8479ae9b
1 changed files with 10 additions and 0 deletions
10
lisp/doom.el
10
lisp/doom.el
|
@ -697,6 +697,16 @@ appropriately against `noninteractive' or the `cli' context."
|
||||||
;;
|
;;
|
||||||
;;; Last minute initialization
|
;;; Last minute initialization
|
||||||
|
|
||||||
|
(when (daemonp)
|
||||||
|
(message "Starting Doom Emacs in daemon mode!")
|
||||||
|
(unless doom-inhibit-log
|
||||||
|
(add-hook! 'doom-after-init-hook :depth 106
|
||||||
|
(unless doom-inhibit-log
|
||||||
|
(setq doom-inhibit-log (not (or noninteractive init-file-debug))))
|
||||||
|
(message "Disabling verbose mode. Have fun!"))
|
||||||
|
(add-hook! 'kill-emacs-hook :depth 110
|
||||||
|
(message "Killing Emacs. Sayonara!"))))
|
||||||
|
|
||||||
(add-hook! 'doom-before-init-hook :depth -105
|
(add-hook! 'doom-before-init-hook :depth -105
|
||||||
(defun doom--begin-init-h ()
|
(defun doom--begin-init-h ()
|
||||||
"Begin the startup process."
|
"Begin the startup process."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue