In emacs -Q (window-line-height) C-o C-x C-e Results in nil. Interestingly enough, I can specify line numbers (or not) and it will work, but only as long as (= (point) (point-max))