[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#3602: 23.0.94; window-line-height problems
From: |
Lars Ingebrigtsen |
Subject: |
bug#3602: 23.0.94; window-line-height problems |
Date: |
Sun, 09 Feb 2014 19:33:37 -0800 |
User-agent: |
Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) |
"Drew Adams" <drew.adams@oracle.com> writes:
> The behavior of this function seems broken, at least for LINE =
> mode-line or header-line. And the doc is not good.
>
> Doc string of `window-line-height' says this:
>
> "Return height of current line if LINE is omitted or nil. Return
> height of header or mode line if LINE is `header-line' and
> `mode-line'."
>
> That seems to say that if you have a header line, then you can get its
> height in pixels this way (window-line-height 'header-line), and
> similarly for mode-line. But that doesn't seem to work.
(window-line-height 'mode-line)
=> nil
So I can confirm this bug.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
- bug#3602: 23.0.94; window-line-height problems,
Lars Ingebrigtsen <=