Function: hkey-swap-buffers
hkey-swap-buffers is an autoloaded, interactive and byte-compiled
function defined in hmouse-drv.el.
Signature
(hkey-swap-buffers FROM-WINDOW TO-WINDOW)
Documentation
Swap buffer from FROM-WINDOW with buffer of TO-WINDOW.
When interactive use ace-window to choose FROM-WINDOW and TO-WINDOW. Leave TO-WINDOW as the selected window.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hmouse-drv.el
;;;###autoload
(defun hkey-swap-buffers (from-window to-window)
"Swap buffer from FROM-WINDOW with buffer of TO-WINDOW.
When interactive use ace-window to choose FROM-WINDOW and
TO-WINDOW. Leave TO-WINDOW as the selected window."
(interactive
(list (aw-select " Ace - Hyperbole: Swap from Buffer1...")
(aw-select " Ace - Hyperbole: ...to Buffer2")))
(let ((from-buf (window-buffer from-window))
(to-buf (window-buffer to-window)))
(set-window-buffer from-window to-buf)
(set-window-buffer to-window from-buf)
(hypb:select-window-frame to-window)))