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
|
||||
occur
|
||||
outline
|
||||
shortdoc
|
||||
simple
|
||||
slime
|
||||
lispy)
|
||||
|
@ -328,6 +329,8 @@ and complains if a module is loaded too early (during startup)."
|
|||
(evil-collection-minibuffer-insert)))
|
||||
(add-transient-hook! 'process-menu-mode
|
||||
(+evil-collection-init '(process-menu simple)))
|
||||
(add-transient-hook! 'shortdoc-mode
|
||||
(+evil-collection-init 'shortdoc))
|
||||
(add-transient-hook! 'tabulated-list-mode
|
||||
(+evil-collection-init 'tabulated-list))
|
||||
(add-transient-hook! 'tab-bar-mode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue