Subject: Re: bug#3602: 23.0.94; window-line-height problems

From: Lars Ingebrigtsen <[email-masked]>
Date: Sun, 09 Feb 2014 19:33:37 -0800

"Drew Adams" <[email-masked]> 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/