mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-31 14:43:40 -05:00
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:
@@ -279,7 +279,7 @@ and complains if a module is loaded too early (during startup)."
|
||||
(unless (memq (or (car-safe module) module) disabled-list)
|
||||
(doom-log "editor:evil: loading evil-collection-%s %s"
|
||||
(or (car-safe module) module)
|
||||
(if doom-init-time "" "(too early!)"))
|
||||
(if after-init-time "" "(too early!)"))
|
||||
(with-demoted-errors "evil-collection error: %s"
|
||||
(evil-collection-init (list module)))))
|
||||
|
||||
|
Reference in New Issue
Block a user