Init packages from init.el in noninteractive sessions
This allows users to load init.el for their batch scripts, rather than some monstrosity involving loading core/core.el and doom-initialize.
This commit is contained in:
parent
c30d0ab1b7
commit
7a7b89ded1
2 changed files with 4 additions and 1 deletions
3
init.el
3
init.el
|
@ -48,7 +48,8 @@
|
|||
|
||||
;; And let 'er rip!
|
||||
(doom-initialize)
|
||||
(unless noninteractive
|
||||
(if noninteractive
|
||||
(doom-initialize-packages)
|
||||
(doom-initialize-core)
|
||||
(doom-initialize-modules)
|
||||
(add-hook 'window-setup-hook #'doom-display-benchmark-h)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue