Function: window-fixed-size-p

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

Signature

(window-fixed-size-p &optional WINDOW DIRECTION)

Documentation

Return t if WINDOW cannot be resized in DIRECTION.

WINDOW defaults to the selected window. DIRECTION can be nil (i.e. any), height or width.

Source Code

;; Defined in /usr/src/emacs/lisp/window.el.gz
(defun window-fixed-size-p (&optional window direction)
  "Return t if WINDOW cannot be resized in DIRECTION.
WINDOW defaults to the selected window.  DIRECTION can be
nil (i.e. any), `height' or `width'."
  (with-current-buffer (window-buffer window)
    (and window-size-fixed
         (not (and direction
		   (member (cons direction window-size-fixed)
			   '((height . width) (width . height))))))))