universal argument does not multiply
kahironimashte opened this issue · comments
Same as here: mrkkrp/modalka#24
The hack in the comments works for ryo too:
(define-key universal-argument-map (kbd "u") 'universal-argument-more)
This worked for me in ryo-modall-mode
:
(defun universal-argument-or-more ()
"Call `universal-argument' or `universal-argument-more',
if there's already a `current-prefix-arg'."
(interactive)
(call-interactively
(if current-prefix-arg
#'universal-argument-more
#'universal-argument)))
(ryo-modal-key "u" #'universal-argument-or-more)