diff --git a/popwin.el b/popwin.el index d890271..2410b06 100644 --- a/popwin.el +++ b/popwin.el @@ -557,7 +557,8 @@ the popup window will be closed are followings: (not popup-window-alive) (and other-window-selected (not minibuf-window-p) - (not popwin:popup-window-stuck-p))) + (not popwin:popup-window-stuck-p)) + (= (length (window-list)) 1)) (when popwin:debug (message (concat "popwin: CLOSE:\n" " quit-requested = %s\n"