From c14ad7a7e3d36bac9a1239a34c509278f1474134 Mon Sep 17 00:00:00 2001 From: p <_> Date: Sat, 6 Jun 2015 17:00:13 +0900 Subject: [PATCH] Make popwin don't treat the only window as popup. --- popwin.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"