Function: window-no-other-p

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

Signature

(window-no-other-p &optional WINDOW)

Documentation

Return non-nil if WINDOW should not be used as "other" window.

WINDOW must be a live window and defaults to the selected one.

Return non-nil if the no-other-window parameter of WINDOW is non-nil and ignore-window-parameters is nil. Return nil in any other case.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/window.el.gz
(defun window-no-other-p (&optional window)
  "Return non-nil if WINDOW should not be used as \"other\" window.
WINDOW must be a live window and defaults to the selected one.

Return non-nil if the `no-other-window' parameter of WINDOW is non-nil
and `ignore-window-parameters' is nil.  Return nil in any other case."
  (setq window (window-normalize-window window t))
  (and (not ignore-window-parameters)
       (window-parameter window 'no-other-window)))