Function: vcursor-copy

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

Signature

(vcursor-copy ARG)

Documentation

Copy ARG characters from the virtual cursor position to point.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/vcursor.el.gz
(defun vcursor-copy (arg)
  "Copy ARG characters from the virtual cursor position to point."
  (interactive "p")
  (vcursor-check)
  (vcursor-insert
   (with-current-buffer (overlay-buffer vcursor-overlay)
     (let* ((ostart (overlay-start vcursor-overlay))
	    (end (+ ostart arg)))
       (prog1
	   (buffer-substring ostart end)
	 (vcursor-move end)))))
  (setq vcursor-last-command t)
)