Load module init.el too from require! macro
This commit is contained in:
parent
185bf58c9e
commit
e894c07453
1 changed files with 3 additions and 1 deletions
|
@ -401,7 +401,9 @@ The module is only loaded once. If RELOAD-P is non-nil, load it again."
|
||||||
module submodule)
|
module submodule)
|
||||||
(doom-module-enable module submodule flags)
|
(doom-module-enable module submodule flags)
|
||||||
`(condition-case-unless-debug ex
|
`(condition-case-unless-debug ex
|
||||||
(load! config ,module-path t)
|
(progn
|
||||||
|
(load! init ,module-path t)
|
||||||
|
(load! config ,module-path t))
|
||||||
('error
|
('error
|
||||||
(lwarn 'doom-modules :error
|
(lwarn 'doom-modules :error
|
||||||
"%s in '%s %s' -> %s"
|
"%s in '%s %s' -> %s"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue