Function: projectile-replace--keep-files

projectile-replace--keep-files is an interactive and byte-compiled function defined in projectile.el.

Signature

(projectile-replace--keep-files REGEXP)

Documentation

Keep only matches whose project-relative file matches REGEXP.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-replace--keep-files (regexp)
  "Keep only matches whose project-relative file matches REGEXP."
  (interactive (list (read-regexp "Keep matches whose file matches regexp")))
  (projectile-replace--filter-by
   (lambda (m) (projectile-replace--file-matches-p m regexp))))