Function: projectile-dispatch-replace-review

projectile-dispatch-replace-review is an interactive and byte-compiled function defined in projectile.el.

Signature

(projectile-dispatch-replace-review)

Documentation

Reviewable replace honouring the --regexp and --case-sensitive switches.

Like projectile-dispatch-search-review, but for the replace reviewer.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-dispatch-replace-review ()
  "Reviewable replace honouring the `--regexp' and `--case-sensitive' switches.
Like `projectile-dispatch-search-review', but for the replace reviewer."
  (interactive)
  (let ((switches (projectile-dispatch--args)))
    (let ((case-fold-search (if (member "--case-sensitive" switches)
                                nil case-fold-search))
          (projectile-search-whole-word
           (if (member "--word" switches) t projectile-search-whole-word)))
      (call-interactively (if (member "--regexp" switches)
                              #'projectile-replace-regexp-review
                            #'projectile-replace-review)))))