Function: projectile-replace--do-one
projectile-replace--do-one is a byte-compiled function defined in
projectile.el.
Signature
(projectile-replace--do-one M REPLACEMENT LITERAL)
Documentation
Replace match M in the current buffer with the expansion of REPLACEMENT.
LITERAL selects verbatim vs. capture-group expansion. M's stored
match-data must still be valid for the current buffer.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
;;; Applying the enabled matches
(defun projectile-replace--do-one (m replacement literal)
"Replace match M in the current buffer with the expansion of REPLACEMENT.
LITERAL selects verbatim vs. capture-group expansion. M's stored
`match-data' must still be valid for the current buffer."
(set-match-data (projectile-replace--match-match-data m))
(replace-match (projectile-replace--expand
replacement (projectile-replace--match-groups m) literal)
t t))