Function: window--resizable-p

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

Signature

(window--resizable-p WINDOW DELTA &optional HORIZONTAL IGNORE TRAIL NOUP NODOWN PIXELWISE)

Documentation

Return t if WINDOW can be resized vertically by DELTA lines.

WINDOW must be a valid window and defaults to the selected one. For the meaning of the arguments of this function see the doc-string of window--resizable.

Optional argument PIXELWISE non-nil means interpret DELTA as pixels.

Source Code

;; Defined in /usr/src/emacs/lisp/window.el.gz
(defun window--resizable-p (window delta &optional horizontal ignore trail noup nodown pixelwise)
  "Return t if WINDOW can be resized vertically by DELTA lines.
WINDOW must be a valid window and defaults to the selected one.
For the meaning of the arguments of this function see the
doc-string of `window--resizable'.

Optional argument PIXELWISE non-nil means interpret DELTA as
pixels."
  (setq window (window-normalize-window window))
  (if (> delta 0)
      (>= (window--resizable
	   window delta horizontal ignore trail noup nodown pixelwise)
	  delta)
    (<= (window--resizable
	 window delta horizontal ignore trail noup nodown pixelwise)
	delta)))