Function: window-make-atom

window-make-atom is a byte-compiled function defined in window.el.gz.

Signature

(window-make-atom WINDOW)

Documentation

Make WINDOW an atomic window.

WINDOW must be an internal window. Return WINDOW.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/window.el.gz
(defun window-make-atom (window)
  "Make WINDOW an atomic window.
WINDOW must be an internal window.  Return WINDOW."
  (if (not (window-child window))
      (error "Window %s is not an internal window" window)
    (walk-window-subtree
     (lambda (window)
       (unless (window-parameter window 'window-atom)
	 (set-window-parameter window 'window-atom t)))
     window t)
    window))