Function: aw-move-window

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

Signature

(aw-move-window WINDOW)

Documentation

Move the current buffer to WINDOW.

Switch the current window to the previous buffer.

Source Code

;; Defined in ~/.emacs.d/elpa/ace-window-20220911.358/ace-window.el
(defun aw-move-window (window)
  "Move the current buffer to WINDOW.
Switch the current window to the previous buffer."
  (let ((buffer (current-buffer)))
    (switch-to-buffer (other-buffer))
    (aw-switch-to-window window)
    (switch-to-buffer buffer)))