summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/window.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/window.el b/lisp/window.el
index fcb5aab594d..bb22300c559 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -88,8 +88,8 @@ Anything else means restrict to WINDOW's frame."
(defun count-windows (&optional minibuf)
"Returns the number of visible windows.
-Optional arg NO-MINI non-nil means don't count the minibuffer
-even if it is active."
+Optional arg MINIBUF non-nil means count the minibuffer
+even if it is inactive."
(let ((count 0))
(walk-windows (function (lambda (w)
(setq count (+ count 1))))