Function: window-sizable-p
window-sizable-p is a byte-compiled function defined in window.el.gz.
Signature
(window-sizable-p WINDOW DELTA &optional HORIZONTAL IGNORE PIXELWISE)
Documentation
Return t if WINDOW can be resized 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-sizable.
Source Code
;; Defined in /usr/src/emacs/lisp/window.el.gz
(defun window-sizable-p (window delta &optional horizontal ignore pixelwise)
"Return t if WINDOW can be resized 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-sizable'."
(setq window (window-normalize-window window))
(if (> delta 0)
(>= (window-sizable window delta horizontal ignore pixelwise)
delta)
(<= (window-sizable window delta horizontal ignore pixelwise)
delta)))