summaryrefslogtreecommitdiff
path: root/lisp/window.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-06-01 00:54:52 +0000
committerRichard M. Stallman <rms@gnu.org>1993-06-01 00:54:52 +0000
commite863fdb203c01b33a90fbadec2ac07d22c4cdd86 (patch)
tree300801c1d32fca0b06c7011f569c345df761839e /lisp/window.el
parent31b983ddbf495b1238881bc971b39dfa523bf5b9 (diff)
downloademacs-e863fdb203c01b33a90fbadec2ac07d22c4cdd86.tar.gz
(count-windows): PROC argument of walk-windows takes an argument.
Diffstat (limited to 'lisp/window.el')
-rw-r--r--lisp/window.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/window.el b/lisp/window.el
index 621e0706efa..a69c20018d7 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -1,4 +1,4 @@
-;;; windows.el --- GNU Emacs window commands aside from those written in C.
+;;; window.el --- GNU Emacs window commands aside from those written in C.
;;; Copyright (C) 1985, 1989, 1992 Free Software Foundation, Inc.
@@ -27,7 +27,7 @@
Optional arg NO-MINI non-nil means don't count the minibuffer
even if it is active."
(let ((count 0))
- (walk-windows (function (lambda ()
+ (walk-windows (function (lambda (w)
(setq count (+ count 1))))
minibuf)
count))