Prevent evil-collection from loading packages twice
Triggering eval-after-load blocks (and after!/use-package!) twice.
This commit is contained in:
parent
4f7bf8b976
commit
fdeb1aa45d
1 changed files with 2 additions and 1 deletions
|
@ -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))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue