Fix doom! not loading modules properly
This commit is contained in:
parent
3e6d9cf03a
commit
70159d829f
|
@ -406,7 +406,7 @@ The module is only loaded once. If RELOAD-P is non-nil, load it again."
|
|||
(doom-module-enable module submodule flags))
|
||||
(if (file-directory-p module-path)
|
||||
`(condition-case-unless-debug ex
|
||||
(let ((doom--current-module (cons module submodule)))
|
||||
(let ((doom--current-module ',(cons module submodule)))
|
||||
(load! init ,module-path :noerror)
|
||||
(load! config ,module-path :noerror))
|
||||
('error
|
||||
|
|
Loading…
Reference in New Issue
Block a user