Fix doom! not loading modules properly
This commit is contained in:
parent
3e6d9cf03a
commit
70159d829f
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
(doom-module-enable module submodule flags))
|
||||||
(if (file-directory-p module-path)
|
(if (file-directory-p module-path)
|
||||||
`(condition-case-unless-debug ex
|
`(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! init ,module-path :noerror)
|
||||||
(load! config ,module-path :noerror))
|
(load! config ,module-path :noerror))
|
||||||
('error
|
('error
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue