Fix doom! not loading modules after byte-compile
This commit is contained in:
parent
bd443322a2
commit
e55e798048
1 changed files with 4 additions and 4 deletions
|
@ -302,13 +302,13 @@ MODULES is an malformed plist of modules to load."
|
|||
(flags (if (listp m) (cdr m)))
|
||||
(path (doom-module-path module submodule)))
|
||||
(doom-module-enable module submodule flags)
|
||||
(push `(load! init ,path t) init-forms)
|
||||
(unless noninteractive
|
||||
(push `(load! config ,path t) config-forms))))))
|
||||
(push `(load! init ,path t) init-forms)
|
||||
(push `(load! config ,path t) config-forms)))))
|
||||
`(let (file-name-handler-alist)
|
||||
(setq doom-modules ',doom-modules)
|
||||
,@(nconc (nreverse init-forms) (nreverse config-forms))
|
||||
,@(nreverse init-forms)
|
||||
(unless noninteractive
|
||||
,@(nreverse config-forms)
|
||||
(when (display-graphic-p)
|
||||
(require 'server)
|
||||
(unless (server-running-p)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue