Function: evil-expand-range
evil-expand-range is a byte-compiled function defined in
evil-common.el.
Signature
(evil-expand-range RANGE &optional COPY)
Documentation
Expand RANGE according to its type.
Return a new range if COPY is non-nil.
Source Code
;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-common.el
(defun evil-expand-range (range &optional copy)
"Expand RANGE according to its type.
Return a new range if COPY is non-nil."
(when copy
(setq range (evil-copy-range range)))
(unless (plist-get (evil-range-properties range) :expanded)
(setq range (evil-transform-range :expand range)))
range)