fix(evil): premature "too early" warnings
A warning gets logged if a lazily-loaded evil-collection package is loaded too early at startup, but the goal posts were in the wrong place, resulting in unavoidable warnings for packages that weren't actually loaded too early.
This commit is contained in:
parent
f5f9c7222a
commit
fe2cb5e705
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ and complains if a module is loaded too early (during startup)."
|
||||||
(unless (memq (or (car-safe module) module) disabled-list)
|
(unless (memq (or (car-safe module) module) disabled-list)
|
||||||
(doom-log "editor:evil: loading evil-collection-%s %s"
|
(doom-log "editor:evil: loading evil-collection-%s %s"
|
||||||
(or (car-safe module) module)
|
(or (car-safe module) module)
|
||||||
(if doom-init-time "" "(too early!)"))
|
(if after-init-time "" "(too early!)"))
|
||||||
(with-demoted-errors "evil-collection error: %s"
|
(with-demoted-errors "evil-collection error: %s"
|
||||||
(evil-collection-init (list module)))))
|
(evil-collection-init (list module)))))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue