Function: aw--push-window

aw--push-window is a byte-compiled function defined in ace-window.el.

Signature

(aw--push-window WINDOW)

Documentation

Store WINDOW to aw--window-ring.

Source Code

;; Defined in ~/.emacs.d/elpa/ace-window-20220911.358/ace-window.el
(defun aw--push-window (window)
  "Store WINDOW to `aw--window-ring'."
  (when (or (zerop (ring-length aw--window-ring))
            (not (equal
                  (ring-ref aw--window-ring 0)
                  window)))
    (ring-insert aw--window-ring (selected-window))))