Function: evil-select-xml-tag
evil-select-xml-tag is a byte-compiled function defined in
evil-common.el.
Signature
(evil-select-xml-tag BEG END TYPE &optional COUNT INCLUSIVE)
Documentation
Return a range (BEG END) of COUNT matching XML tags.
If INCLUSIVE is non-nil, the tags themselves are included from the range.
Source Code
;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-common.el
(defun evil-select-xml-tag (beg end type &optional count inclusive)
"Return a range (BEG END) of COUNT matching XML tags.
If INCLUSIVE is non-nil, the tags themselves are included
from the range."
(cond
((and (not inclusive) (= (abs (or count 1)) 1))
(let ((rng (evil-select-block #'evil-up-xml-tag beg end type count nil t)))
(if (or (and beg (= beg (evil-range-beginning rng))
end (= end (evil-range-end rng))))
(evil-select-block #'evil-up-xml-tag beg end type count t)
rng)))
(t
(evil-select-block #'evil-up-xml-tag beg end type count inclusive))))