Function: vcursor-swap-point
vcursor-swap-point is an interactive and byte-compiled function
defined in vcursor.el.gz.
Signature
(vcursor-swap-point)
Documentation
Swap the location of point and that of the virtual cursor.
The virtual cursor window becomes the selected window and the old window becomes the virtual cursor window. If the virtual cursor would not be visible otherwise, display it in another window.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/vcursor.el.gz
(defun vcursor-swap-point ()
"Swap the location of point and that of the virtual cursor.
The virtual cursor window becomes the selected window and the old
window becomes the virtual cursor window. If the virtual cursor would
not be visible otherwise, display it in another window."
(interactive)
(let ((buf (current-buffer)) (here (point)) (win (selected-window)))
(vcursor-goto) ; will disable the vcursor
(with-current-buffer buf
(setq vcursor-window win)
(vcursor-move here)))
)