Function: vcursor-locate

vcursor-locate is a byte-compiled function defined in vcursor.el.gz.

Signature

(vcursor-locate)

Documentation

Go to the starting point of the virtual cursor.

If that's disabled, don't go anywhere but don't complain.

Source Code

;; Defined in /usr/src/emacs/lisp/vcursor.el.gz
(defun vcursor-locate ()
  "Go to the starting point of the virtual cursor.
If that's disabled, don't go anywhere but don't complain."
  ;; This is where we go off-mass-shell.  Assume there is a
  ;; save-excursion to get us back to the pole, er, point.
  (and (overlayp vcursor-overlay)
       (overlay-buffer vcursor-overlay)
       (set-buffer (overlay-buffer vcursor-overlay))
       (goto-char (overlay-start vcursor-overlay)))
  )