Function: evil-set-range-end

evil-set-range-end is a byte-compiled function defined in evil-common.el.

Signature

(evil-set-range-end RANGE END &optional COPY)

Documentation

Set RANGE's end to END.

If COPY is non-nil, return a copy of RANGE.

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-common.el
(defun evil-set-range-end (range end &optional copy)
  "Set RANGE's end to END.
If COPY is non-nil, return a copy of RANGE."
  (when copy
    (setq range (evil-copy-range range)))
  (setcar (cdr range) end)
  range)