Function: window-old-pixel-height

window-old-pixel-height is a function defined in window.c.

Signature

(window-old-pixel-height &optional WINDOW)

Documentation

Return old total pixel height of WINDOW.

WINDOW must be a valid window and defaults to the selected one.

The return value is the total pixel height of WINDOW after the last time window change functions found WINDOW live on its frame. It is zero if WINDOW was created after that.

Probably introduced at or before Emacs version 27.1.

Aliases

window-pixel-height-before-size-change

Source Code

// Defined in /usr/src/emacs/src/window.c
{
  return (make_fixnum
	  (decode_valid_window (window)->old_pixel_height));
}