Function: wgrep-compute-linum-to-marker
wgrep-compute-linum-to-marker is a natively compiled function defined
in wgrep.el.
Signature
(wgrep-compute-linum-to-marker EDITS)
Source Code
;; Defined in /nix/store/pbj4kr4ar755h56yscbqpnmv3swf8i1k-emacs-packages-deps/share/emacs/site-lisp/elpa/wgrep-20230203.1214/wgrep.el
(defun wgrep-compute-linum-to-marker (edits)
;; Convert linum to marker.
;; When new text contains newline destroy linum access.
(dolist (edit edits)
(let ((linum (car edit)))
;; get a marker
(wgrep-goto-line linum)
(setcar edit (point-marker)))))