Function: projectile-dispatch-search-review

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

Signature

(projectile-dispatch-search-review)

Documentation

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

--regexp runs the Emacs-regexp reviewer, --case-sensitive seeds the
search case-sensitive; all can still be flipped (x/c/w) in the results buffer.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-dispatch-search-review ()
  "Reviewable search honouring the `--regexp' and `--case-sensitive' switches.
`--regexp' runs the Emacs-regexp reviewer, `--case-sensitive' seeds the
search case-sensitive; all can still be flipped (`x'/`c'/`w') in the results
buffer."
  (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-search-regexp-review
                            #'projectile-search-review)))))