>Why should it? Calling pos-visible-in-window-p does not guarantee
> (progn (pos-visible-in-window-p)
> (window-line-height))
>
> but it didn't seem to make any difference.
that the window will be up-to-date, it just gives you the same
information without requiring that the display be up-to-date. Its
disadvantage is that it is slower.