nit(evil): revise & reformat comments

For clarity and to conform to newer conventions.
This commit is contained in:
Henrik Lissner
2025-03-25 15:21:54 -04:00
parent ad7d9fa657
commit b29449434b
2 changed files with 16 additions and 15 deletions

View File

@@ -143,9 +143,9 @@ more information on modifiers."
"Same as `evil-window-split', but correctly updates the window history."
:repeat nil
(interactive "P<f>")
;; HACK This ping-ponging between the destination and source windows is to
;; update the window focus history, so that, if you close either split
;; afterwards you won't be sent to some random window.
;; HACK: This ping-ponging between the destination and source windows is to
;; update the window focus history, so that, if you close either split
;; afterwards you won't be sent to some random window.
(let ((origwin (selected-window))
window-selection-change-functions)
(select-window (split-window origwin count 'below))
@@ -162,9 +162,9 @@ more information on modifiers."
"Same as `evil-window-split', but correctly updates the window history."
:repeat nil
(interactive "P<f>")
;; HACK This ping-ponging between the destination and source windows is to
;; update the window focus history, so that, if you close either split
;; afterwards you won't be sent to some random window.
;; HACK: This ping-ponging between the destination and source windows is to
;; update the window focus history, so that, if you close either split
;; afterwards you won't be sent to some random window.
(let ((origwin (selected-window))
window-selection-change-functions)
(select-window (split-window origwin count 'right))