window-resize-no-error

window-resize-no-error is a compiled Lisp function in `window.el'.

(window-resize-no-error WINDOW DELTA &optional HORIZONTAL IGNORE PIXELWISE)

Resize WINDOW vertically if it is resizable by DELTA lines.
This function is like `window-resize' but does not signal an
error when WINDOW cannot be resized. For the meaning of the
optional arguments see the documentation of `window-resize'.

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