Function: viper-p-val
viper-p-val is a byte-compiled function defined in viper-cmd.el.gz.
Signature
(viper-p-val ARG)
Source Code
;; Defined in /usr/src/emacs/lisp/emulation/viper-cmd.el.gz
;; prefix argument for Vi mode
;; In Vi mode, prefix argument is a dotted pair (NUM . COM) where NUM
;; represents the numeric value of the prefix argument and COM represents
;; command prefix such as "c", "d", "m" and "y".
;; Get value part of prefix-argument ARG.
(defsubst viper-p-val (arg)
(cond ((null arg) 1)
((consp arg)
(if (or (null (car arg)) (equal (car arg) '(nil)))
1 (car arg)))
(t arg)))