Refactor module load process
doom! no longer loads modules, it only sets doom-modules (incrementally). Instead, modules are loaded by doom-initialize-modules (which makes more sense).
This commit is contained in:
parent
f88a97177c
commit
6eafdd7c62
3 changed files with 51 additions and 62 deletions
|
@ -9,7 +9,8 @@ If neither is available, run all tests in all enabled modules."
|
|||
;; Core libraries aren't fully loaded in a noninteractive session, so we
|
||||
;; reload it with `noninteractive' set to nil to force them to.
|
||||
(quiet! (doom-reload-autoloads))
|
||||
(doom-initialize t t)
|
||||
(doom-initialize 'force t)
|
||||
(doom-initialize-modules 'force)
|
||||
(let ((target-paths
|
||||
;; Convert targets into a list of string paths, pointing to the root
|
||||
;; directory of modules
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue