Function: window-min-size

window-min-size is a byte-compiled function defined in window.el.gz.

Signature

(window-min-size &optional WINDOW HORIZONTAL IGNORE PIXELWISE)

Documentation

Return the minimum size of WINDOW.

WINDOW must be a valid window and defaults to the selected one. Optional argument HORIZONTAL non-nil means return the minimum number of columns of WINDOW; otherwise return the minimum number of WINDOW's lines.

The optional argument IGNORE has the same meaning as for window-resizable. Optional argument PIXELWISE non-nil means return the minimum pixel-size of WINDOW.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/window.el.gz
(defun window-min-size (&optional window horizontal ignore pixelwise)
  "Return the minimum size of WINDOW.
WINDOW must be a valid window and defaults to the selected one.
Optional argument HORIZONTAL non-nil means return the minimum
number of columns of WINDOW; otherwise return the minimum number
of WINDOW's lines.

The optional argument IGNORE has the same meaning as for
`window-resizable'.  Optional argument PIXELWISE non-nil means
return the minimum pixel-size of WINDOW."
  (window--min-size-1
   (window-normalize-window window) horizontal ignore pixelwise))