Mercurial > emacs
changeset 105416:cb0fd5493ae6
(window-full-height-p): Add doc string.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sun, 04 Oct 2009 00:41:18 +0000 |
parents | 6ae619b44d73 |
children | a9208a10f543 |
files | lisp/ChangeLog lisp/window.el |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Sun Oct 04 00:40:16 2009 +0000 +++ b/lisp/ChangeLog Sun Oct 04 00:41:18 2009 +0000 @@ -1,3 +1,7 @@ +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)
--- a/lisp/window.el Sun Oct 04 00:40:16 2009 +0000 +++ b/lisp/window.el Sun Oct 04 00:41:18 2009 +0000 @@ -87,7 +87,11 @@ (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)