Function: evil-this-command-keys

evil-this-command-keys is a byte-compiled function defined in evil-repeat.el.

Signature

(evil-this-command-keys &optional POST-CMD)

Documentation

Version of this-command-keys with finer control over prefix args.

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-repeat.el
(defun evil-this-command-keys (&optional post-cmd)
  "Version of `this-command-keys' with finer control over prefix args."
  (vconcat
   (let ((arg (if post-cmd current-prefix-arg prefix-arg)))
     (and (numberp arg)
          ;; Only add prefix if no repeat info recorded yet
          (null evil-repeat-info)
          (number-to-string arg)))
   (this-single-command-keys)))