Function: projectile-replace--seed

projectile-replace--seed is a byte-compiled function defined in projectile.el.

Signature

(projectile-replace--seed BUF MODE ROOT TERM REGEXP REPLACEMENT LITERAL CASE-FOLD &optional WORD RG-PATTERN PROJECTS)

Documentation

Put BUF in MODE and seed its results-buffer state, with no matches yet.

ROOT, TERM, REGEXP, REPLACEMENT, LITERAL, CASE-FOLD, WORD and RG-PATTERN seed the search parameters; the match list starts empty, ready for a
(sync or async) scan to fill it. PROJECTS is the list of project roots
searched, defaulting to just ROOT.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-replace--seed (buf mode root term regexp replacement
                                     literal case-fold &optional word
                                     rg-pattern projects)
  "Put BUF in MODE and seed its results-buffer state, with no matches yet.
ROOT, TERM, REGEXP, REPLACEMENT, LITERAL, CASE-FOLD, WORD and RG-PATTERN
seed the search parameters; the match list starts empty, ready for a
\(sync or async) scan to fill it.  PROJECTS is the list of project roots
searched, defaulting to just ROOT."
  (with-current-buffer buf
    (funcall mode)
    (setq projectile-replace--projects (or projects (list root))
          projectile-replace--root root
          projectile-replace--term term
          projectile-replace--search regexp
          projectile-replace--replacement replacement
          projectile-replace--literal literal
          projectile-replace--case-fold case-fold
          projectile-replace--word word
          projectile-replace--rg-pattern rg-pattern
          projectile-replace--matches nil
          projectile-replace--truncated nil
          projectile-replace--filtered nil
          projectile-replace--scanning nil
          projectile-replace--scan-timer nil
          projectile-replace--scan-process nil)))