]> git.eshelyaron.com Git - emacs.git/commitdiff
(window-full-height-p): Add doc string.
authorGlenn Morris <rgm@gnu.org>
Sun, 4 Oct 2009 00:41:18 +0000 (00:41 +0000)
committerGlenn Morris <rgm@gnu.org>
Sun, 4 Oct 2009 00:41:18 +0000 (00:41 +0000)
lisp/ChangeLog
lisp/window.el

index 441fd7d47ec5d4fa7750d20962b04ae2ed619439..eeb3770db6bb6783f827d7f6cc19cd0e4e76cda4 100644 (file)
@@ -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)
index 9339247bfa82578a224e489ef5e040526e8803df..c4dc973f94f98c38862188cf56962bd7b970d0ce 100644 (file)
@@ -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)