Function: vcursor-toggle-copy

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

Signature

(vcursor-toggle-copy &optional ARG NOMSG)

Documentation

Toggle copying to point when the vcursor is moved.

With a prefix ARG, turn on if non-negative, off if negative. Display a message unless optional NOMSG is non-nil.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/vcursor.el.gz
(defun vcursor-toggle-copy (&optional arg nomsg)
  "Toggle copying to point when the vcursor is moved.
With a prefix ARG, turn on if non-negative, off if negative.
Display a message unless optional NOMSG is non-nil."
  (interactive "P")
  (setq vcursor-copy-flag
	(cond ((not arg) (not vcursor-copy-flag))
	      ((< (prefix-numeric-value arg) 0) nil)
	      (t))
	vcursor-last-command t)
  (or nomsg (message "Copying from the vcursor is now %s."
		     (if vcursor-copy-flag "on" "off")))
  )