Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c6897d8e
Commit
c6897d8e
authored
Mar 18, 1996
by
Karl Heuer
Browse files
(count-windows): Doc fix.
parent
c3d4f949
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lisp/window.el
lisp/window.el
+2
-2
No files found.
lisp/window.el
View file @
c6897d8e
...
...
@@ -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 MINI
BUF
non-nil means count the minibuffer
even if it is
in
active."
(
let
((
count
0
))
(
walk-windows
(
function
(
lambda
(
w
)
(
setq
count
(
+
count
1
))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment