mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Prevent evil-collection from loading packages twice
Triggering eval-after-load blocks (and after!/use-package!) twice.
This commit is contained in:
@ -222,4 +222,5 @@ and complains if a module is loaded too early (during startup)."
|
||||
(dolist (mode evil-collection-mode-list)
|
||||
(dolist (req (or (cdr-safe mode) (list mode)))
|
||||
(with-eval-after-load req
|
||||
(+evil-collection-init mode +evil-collection-disabled-list))))
|
||||
(+evil-collection-init (or (car-safe mode) mode)
|
||||
+evil-collection-disabled-list))))
|
||||
|
Reference in New Issue
Block a user