Function: vip-command-argument

vip-command-argument is an interactive and byte-compiled function defined in vip.el.gz.

Signature

(vip-command-argument ARG)

Documentation

Accept a motion command as an argument.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/vip.el.gz
(defun vip-command-argument (arg)
  "Accept a motion command as an argument."
  (interactive "P")
  (condition-case nil
      (vip-prefix-arg-com
       last-command-event
       (cond ((null arg) nil)
	     ((consp arg) (car arg))
	     ((numberp arg) arg)
             (t (error "Strange arg")))
       (cond ((null arg) nil)
	     ((consp arg) (cdr arg))
	     ((numberp arg) nil)
             (t (error "Strange arg"))))
    (quit
     (setq vip-use-register nil)
     (signal 'quit nil))))