From 9bef998b0c085948a5ce68bb753a3d5b85484235 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 27 Apr 2016 23:21:08 -0400 Subject: [PATCH] Handle popups in narf--evil-window-move --- core/defuns/defuns-window.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/defuns/defuns-window.el b/core/defuns/defuns-window.el index c304a8760..8b05e5f7c 100644 --- a/core/defuns/defuns-window.el +++ b/core/defuns/defuns-window.el @@ -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)