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
ccafbf06
Commit
ccafbf06
authored
Oct 04, 2009
by
Glenn Morris
Browse files
(window-full-height-p): Add doc string.
parent
02c6f098
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/window.el
lisp/window.el
+4
-0
No files found.
lisp/ChangeLog
View file @
ccafbf06
2009-10-04 Glenn Morris <rgm@gnu.org>
* window.el (window-full-height-p): Add doc string.
2009-10-04 Martin Rudalics <rudalics@gmx.at>
* window.el (window-full-height-p): New function. (Bug#4543)
...
...
lisp/window.el
View file @
ccafbf06
...
...
@@ -87,7 +87,11 @@ return value, use `window-text-height' instead."
(
if
mode-line-format
1
0
)
(
if
header-line-format
1
0
))))))
;; See discussion in bug#4543.
(
defun
window-full-height-p
(
&optional
window
)
"Return non-nil if WINDOW is not the result of a vertical split.
WINDOW defaults to the selected window. (This function is not
appropriate for minibuffers.)"
(
unless
window
(
setq
window
(
selected-window
)))
(
=
(
window-height
window
)
...
...
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