Function: vcursor-goto

vcursor-goto is an interactive and byte-compiled function defined in vcursor.el.gz.

Signature

(vcursor-goto &optional ARG)

Documentation

Move the real cursor to the virtual cursor position.

If the virtual cursor is (or was recently) visible in another window, switch to that first. Without a prefix ARG, disable the virtual cursor as well.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/vcursor.el.gz
(defun vcursor-goto (&optional arg)
  "Move the real cursor to the virtual cursor position.
If the virtual cursor is (or was recently) visible in another window,
switch to that first.  Without a prefix ARG, disable the virtual
cursor as well."
  (interactive "P")
  (and (vcursor-find-window) (select-window vcursor-window))
  (let ((buf (and vcursor-overlay (overlay-buffer vcursor-overlay))))
    (and buf (not (eq (current-buffer) buf)) (switch-to-buffer buf)))
  (vcursor-locate)
  (or arg (vcursor-disable))
  )