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
02c6f098
Commit
02c6f098
authored
Oct 04, 2009
by
Glenn Morris
Browse files
Martin Rudalics <rudalics at gmx.at>
(window-full-height-p): New function. (Bug#4543)
parent
68972a4f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/window.el
lisp/window.el
+6
-0
No files found.
lisp/ChangeLog
View file @
02c6f098
2009-10-04 Martin Rudalics <rudalics@gmx.at>
* window.el (window-full-height-p): New function. (Bug#4543)
2009-10-03 Chong Yidong <cyd@stupidchicken.com>
* cedet/srecode/insert.el: Require srecode/args.
...
...
lisp/window.el
View file @
02c6f098
...
...
@@ -87,6 +87,12 @@ return value, use `window-text-height' instead."
(
if
mode-line-format
1
0
)
(
if
header-line-format
1
0
))))))
(
defun
window-full-height-p
(
&optional
window
)
(
unless
window
(
setq
window
(
selected-window
)))
(
=
(
window-height
window
)
(
window-height
(
frame-root-window
(
window-frame
window
)))))
(
defun
one-window-p
(
&optional
nomini
all-frames
)
"Return non-nil if the selected window is the only window.
Optional arg NOMINI non-nil means don't count the minibuffer
...
...
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