Fix doom! not loading modules properly

This commit is contained in:
Henrik Lissner 2018-03-01 03:34:38 -05:00
parent 3e6d9cf03a
commit 70159d829f
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -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