Function: window-resize-no-error

window-resize-no-error is a byte-compiled function defined in window.el.gz.

Signature

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

Documentation

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.

Source Code

;; Defined in /usr/src/emacs/lisp/window.el.gz
(defun 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'."
  (when (window--resizable-p
	 window delta horizontal ignore nil nil nil pixelwise)
    (window-resize window delta horizontal ignore pixelwise)))