Function: evil-transform
evil-transform is a byte-compiled function defined in evil-common.el.
Signature
(evil-transform TRANSFORM BEG END TYPE &rest PROPERTIES)
Documentation
Apply TRANSFORM on BEG and END with PROPERTIES.
Return a list (BEG END TYPE PROPERTIES ...), where the tail may contain a property list. If TRANSFORM is undefined, return positions unchanged.
Source Code
;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-common.el
(defun evil-transform (transform beg end type &rest properties)
"Apply TRANSFORM on BEG and END with PROPERTIES.
Return a list (BEG END TYPE PROPERTIES ...), where the tail
may contain a property list. If TRANSFORM is undefined,
return positions unchanged."
(let* ((type (or type (evil-type properties)))
(transform (when (and type transform)
(evil-type-property type transform))))
(if transform
(apply transform beg end properties)
(apply #'evil-range beg end type properties))))