Fix doom quickstart
not installing packages
If the user had no ~/.doom.d/init.el to begin with, and never reads it after it's been created (by `doom quickstart`), then Doom can't possibly know what modules to install packages for, therefore no packages get installed!
This commit is contained in:
parent
d3a12a3914
commit
defd60b24b
2 changed files with 7 additions and 4 deletions
|
@ -57,11 +57,10 @@ before the user's private module.")
|
|||
"Loads the init.el in `doom-private-dir' and sets up hooks for a healthy
|
||||
session of Dooming. Will noop if used more than once, unless FORCE-P is
|
||||
non-nil."
|
||||
(when (or force-p (not doom-init-modules-p))
|
||||
(when (and (or force-p
|
||||
(not doom-init-modules-p))
|
||||
(load! "init" doom-private-dir t))
|
||||
(setq doom-init-modules-p t)
|
||||
(load! "init" doom-private-dir t)
|
||||
(unless doom-modules
|
||||
(setq doom-modules (make-hash-table :test 'equal)))
|
||||
(maphash (lambda (key plist)
|
||||
(let ((doom--current-module key)
|
||||
(doom--current-flags (plist-get plist :flags)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue