Function: projectile-replace--filter-by
projectile-replace--filter-by is a byte-compiled function defined in
projectile.el.
Signature
(projectile-replace--filter-by PREDICATE)
Documentation
Keep only matches satisfying PREDICATE, mark the list filtered, re-render.
The removed matches are recoverable by re-searching (g (projectile-replace--refresh)), which
gathers from scratch. Refused while a scan is still streaming in, since a
later chunk would append past the filter and leave an incoherent list.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-replace--filter-by (predicate)
"Keep only matches satisfying PREDICATE, mark the list filtered, re-render.
The removed matches are recoverable by re-searching (\\<projectile-replace-mode-map>\\[projectile-replace--refresh]), which
gathers from scratch. Refused while a scan is still streaming in, since a
later chunk would append past the filter and leave an incoherent list."
(projectile-replace--ensure-not-scanning)
(setq projectile-replace--matches
(cl-remove-if-not predicate projectile-replace--matches)
projectile-replace--filtered t)
(funcall projectile-replace--render-function))