Prevent evil-collection loading too early
A recent update causes evil-collection-process-menu to load immediately at startup (because `simple` is loaded immediately), so we defer it until process-menu-mode is called. Loading process-menu so early pulls in evil far too early, causing other issues, like undoing all of evil's prior-to-loading keybindings.
This commit is contained in:
parent
6b4af6d544
commit
77f554c63d
1 changed files with 2 additions and 1 deletions
|
@ -174,7 +174,6 @@ variable for an explanation of the defaults (in comments). See
|
||||||
(pdf pdf-tools)
|
(pdf pdf-tools)
|
||||||
popup
|
popup
|
||||||
proced
|
proced
|
||||||
(process-menu simple)
|
|
||||||
prodigy
|
prodigy
|
||||||
profiler
|
profiler
|
||||||
python
|
python
|
||||||
|
@ -264,6 +263,8 @@ and complains if a module is loaded too early (during startup)."
|
||||||
(when evil-collection-setup-minibuffer
|
(when evil-collection-setup-minibuffer
|
||||||
(+evil-collection-init 'minibuffer)
|
(+evil-collection-init 'minibuffer)
|
||||||
(evil-collection-minibuffer-insert)))
|
(evil-collection-minibuffer-insert)))
|
||||||
|
(add-transient-hook! 'process-menu-mode
|
||||||
|
(+evil-collection-init '(process-menu simple)))
|
||||||
(add-transient-hook! 'xwidget-webkit-mode
|
(add-transient-hook! 'xwidget-webkit-mode
|
||||||
(+evil-collection-init 'xwidget))
|
(+evil-collection-init 'xwidget))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue