Function: evil-interactive-form
evil-interactive-form is a byte-compiled function defined in
evil-common.el.
Signature
(evil-interactive-form &rest ARGS)
Documentation
Evaluate interactive forms ARGS.
The return value is a cons cell (FORM . PROPERTIES),
where FORM is a single list-expression to be passed to
a standard interactive statement, and PROPERTIES is a
list of command properties as passed to evil-define-command.
Source Code
;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-common.el
(defun evil-interactive-form (&rest args)
"Evaluate interactive forms ARGS.
The return value is a cons cell (FORM . PROPERTIES),
where FORM is a single list-expression to be passed to
a standard `interactive' statement, and PROPERTIES is a
list of command properties as passed to `evil-define-command'."
(let (forms properties)
(dolist (arg args)
(if (not (stringp arg))
(setq forms (append forms (list arg)))
(setq arg (evil-interactive-string arg)
forms (append forms (cdr (car arg)))
properties (append properties (cdr arg)))))
(cons (apply #'evil-concatenate-interactive-forms forms)
properties)))