bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#4543: window-full-height-p


From: martin rudalics
Subject: bug#4543: window-full-height-p
Date: Thu, 24 Sep 2009 09:04:21 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

> I would like a window-full-height-p function, analogous to
> window-full-width-p.

Would

(defun window-full-height-p (&optional window)
  (unless window
    (setq window (selected-window)))
  (= (window-height window)
     (window-height (frame-root-window (window-frame window)))))

fit?

martin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]