Function: hycontrol-universal-arg-digit
hycontrol-universal-arg-digit is a byte-compiled function defined in
hycontrol.el.
Signature
(hycontrol-universal-arg-digit DIGIT)
Documentation
Return the new prefix argument based on existing hycontrol-arg and new DIGIT.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hycontrol.el
(defun hycontrol-universal-arg-digit (digit)
"Return the new prefix argument based on existing `hycontrol-arg' and new DIGIT."
(setq this-command 'hycontrol-universal-arg-digit
hycontrol-arg
(if (< hycontrol-arg 0)
(if (and (= hycontrol-arg -1)
(not (zerop digit)))
(- digit)
(- (* hycontrol-arg 10) digit))
(+ (* hycontrol-arg 10) digit)))
(when (> (abs hycontrol-arg) hycontrol-maximum-units)
(setq hycontrol-arg
(if (< hycontrol-arg 0)
(- digit)
digit)))
hycontrol-arg)