Function: vcursor-disable

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

Signature

(vcursor-disable &optional ARG)

Documentation

Disable the virtual cursor.

Next time you use it, it will start from point.

With a positive prefix ARG, the first window in cyclic order displaying the virtual cursor (or which was recently displaying the virtual cursor) will be deleted unless it's the selected window.

With a negative prefix argument, enable the virtual cursor: make it active at the same point as the real cursor.

Copying mode is always turned off: the next use of the vcursor will not copy text until you turn it on again.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/vcursor.el.gz
(defun vcursor-disable (&optional arg)
  "Disable the virtual cursor.
Next time you use it, it will start from point.

With a positive prefix ARG, the first window in cyclic order
displaying the virtual cursor (or which was recently displaying the
virtual cursor) will be deleted unless it's the selected window.

With a negative prefix argument, enable the virtual cursor: make it
active at the same point as the real cursor.

Copying mode is always turned off: the next use of the vcursor will
not copy text until you turn it on again."
  (interactive "P")
  (if (overlayp vcursor-overlay)
      (progn
	(delete-overlay vcursor-overlay)
	(setq vcursor-overlay nil)))
  (cond
   ((not (vcursor-find-window t)))
   ((or (not arg) (< (prefix-numeric-value arg) 0)))
   ((delete-window vcursor-window)))
  (cond
   ((and arg (< (prefix-numeric-value arg) 0))
    (vcursor-move (point))
    (setq vcursor-window (selected-window)))
   (vcursor-use-vcursor-map (vcursor-use-vcursor-map 0)))
  (setq vcursor-copy-flag nil)
  )