Commit ccafbf06 authored by Glenn Morris's avatar Glenn Morris

(window-full-height-p): Add doc string.

parent 02c6f098
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)
......
......@@ -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)
......
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