fix(evil): window-selection-change-functions use case
`window-selection-change-functions` expects hooks to have one argument.
This commit is contained in:
parent
61cee32d04
commit
1643124104
1 changed files with 2 additions and 2 deletions
|
@ -152,7 +152,7 @@ more information on modifiers."
|
|||
(select-window (split-window origwin count 'below))
|
||||
(unless evil-split-window-below
|
||||
(select-window origwin)))
|
||||
(run-hooks 'window-selection-change-functions)
|
||||
(run-hook-with-args 'window-selection-change-functions nil)
|
||||
(recenter)
|
||||
(when (and (not count) evil-auto-balance-windows)
|
||||
(balance-windows (window-parent)))
|
||||
|
@ -171,7 +171,7 @@ more information on modifiers."
|
|||
(select-window (split-window origwin count 'right))
|
||||
(unless evil-vsplit-window-right
|
||||
(select-window origwin)))
|
||||
(run-hooks 'window-selection-change-functions)
|
||||
(run-hook-with-args 'window-selection-change-functions nil)
|
||||
(recenter)
|
||||
(when (and (not count) evil-auto-balance-windows)
|
||||
(balance-windows (window-parent)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue