Function: evil-expand

evil-expand is a byte-compiled function defined in evil-common.el.

Signature

(evil-expand BEG END TYPE &rest PROPERTIES)

Documentation

Expand BEG and END as TYPE with PROPERTIES.

Return a list (BEG END TYPE PROPERTIES ...), where the tail may contain a property list.

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-common.el
(defun evil-expand (beg end type &rest properties)
  "Expand BEG and END as TYPE with PROPERTIES.
Return a list (BEG END TYPE PROPERTIES ...), where the tail
may contain a property list."
  (apply #'evil-transform
         ;; don't expand if already expanded
         (unless (plist-get properties :expanded) :expand)
         beg end type properties))