Add 2nd arg to doom-initialize to load core libs
This restores the correct value of noninteractive while core libs are loading, so packages like recentf can avoid initializing when running emacs non interactively (thus polluting output or possibly causing errors).
This commit is contained in:
parent
ab4052b8dc
commit
ea0f46b181
3 changed files with 9 additions and 9 deletions
|
@ -134,8 +134,9 @@ savehist file."
|
|||
"^/var/folders/.+$"
|
||||
;; ignore private DOOM temp files (but not all of them)
|
||||
(lambda (file) (file-in-directory-p file doom-local-dir))))
|
||||
(add-hook 'kill-emacs-hook #'recentf-cleanup)
|
||||
(quiet! (recentf-mode +1)))
|
||||
(unless noninteractive
|
||||
(add-hook 'kill-emacs-hook #'recentf-cleanup)
|
||||
(quiet! (recentf-mode +1))))
|
||||
|
||||
(def-package! server
|
||||
:when (display-graphic-p)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue