Function: window-size-fixed-p
window-size-fixed-p is a byte-compiled function defined in
window.el.gz.
Signature
(window-size-fixed-p &optional WINDOW HORIZONTAL IGNORE)
Documentation
Return non-nil if WINDOW's height is fixed.
WINDOW must be a valid window and defaults to the selected one.
Optional argument HORIZONTAL non-nil means return non-nil if
WINDOW's width is fixed. The optional argument IGNORE has the
same meaning as for window-resizable.
If this function returns nil, this does not necessarily mean that
WINDOW can be resized in the desired direction. The function
window-resizable can tell that.
Source Code
;; Defined in /usr/src/emacs/lisp/window.el.gz
(defun window-size-fixed-p (&optional window horizontal ignore)
"Return non-nil if WINDOW's height is fixed.
WINDOW must be a valid window and defaults to the selected one.
Optional argument HORIZONTAL non-nil means return non-nil if
WINDOW's width is fixed. The optional argument IGNORE has the
same meaning as for `window-resizable'.
If this function returns nil, this does not necessarily mean that
WINDOW can be resized in the desired direction. The function
`window-resizable' can tell that."
(when (or (windowp ignore) (memq ignore '(nil preserved)))
(window--size-fixed-1
(window-normalize-window window) horizontal ignore)))