perf(evil): lazy load evil-collection-shortdoc
Another package that Emacs loads eagerly at startup, that ends up pulling in evil-collection et co.
This commit is contained in:
parent
7d0d90ec50
commit
5a98d59afc
1 changed files with 3 additions and 0 deletions
|
@ -45,6 +45,7 @@
|
||||||
kotlin-mode
|
kotlin-mode
|
||||||
occur
|
occur
|
||||||
outline
|
outline
|
||||||
|
shortdoc
|
||||||
simple
|
simple
|
||||||
slime
|
slime
|
||||||
lispy)
|
lispy)
|
||||||
|
@ -328,6 +329,8 @@ and complains if a module is loaded too early (during startup)."
|
||||||
(evil-collection-minibuffer-insert)))
|
(evil-collection-minibuffer-insert)))
|
||||||
(add-transient-hook! 'process-menu-mode
|
(add-transient-hook! 'process-menu-mode
|
||||||
(+evil-collection-init '(process-menu simple)))
|
(+evil-collection-init '(process-menu simple)))
|
||||||
|
(add-transient-hook! 'shortdoc-mode
|
||||||
|
(+evil-collection-init 'shortdoc))
|
||||||
(add-transient-hook! 'tabulated-list-mode
|
(add-transient-hook! 'tabulated-list-mode
|
||||||
(+evil-collection-init 'tabulated-list))
|
(+evil-collection-init 'tabulated-list))
|
||||||
(add-transient-hook! 'tab-bar-mode
|
(add-transient-hook! 'tab-bar-mode
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue