Handle popups in narf--evil-window-move
This commit is contained in:
parent
fa192f1bfd
commit
9bef998b0c
1 changed files with 3 additions and 2 deletions
|
@ -30,9 +30,10 @@ evil-window-move-* (e.g. `evil-window-move-far-left')"
|
|||
(this-buffer (current-buffer))
|
||||
(that-window (windmove-find-other-window direction nil this-window))
|
||||
(that-buffer (window-buffer that-window)))
|
||||
(when (minibufferp that-buffer)
|
||||
(when (or (minibufferp that-buffer)
|
||||
(narf/popup-p that-window))
|
||||
(setq that-buffer nil that-window nil))
|
||||
(if (and (not that-window) (not (one-window-p t)))
|
||||
(if (not (or that-window (one-window-p t)))
|
||||
(funcall (case direction
|
||||
('left 'evil-window-move-far-left)
|
||||
('right 'evil-window-move-far-right)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue