aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/window.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/window.el b/lisp/window.el
index 5d9409bf62c..f87294ceb15 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -2583,7 +2583,7 @@ and no others."
2583 2583
2584(defun minibuffer-window-active-p (window) 2584(defun minibuffer-window-active-p (window)
2585 "Return t if WINDOW is the currently active minibuffer window." 2585 "Return t if WINDOW is the currently active minibuffer window."
2586 (eq window (active-minibuffer-window))) 2586 (and (window-live-p window) (eq window (active-minibuffer-window))))
2587 2587
2588(defun count-windows (&optional minibuf) 2588(defun count-windows (&optional minibuf)
2589 "Return the number of live windows on the selected frame. 2589 "Return the number of live windows on the selected frame.