Commit 12169754 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(count-windows): PROC argument of walk-windows takes an argument.

parent 2ed56345
;;; 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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment