Function: project-search
project-search is an autoloaded, interactive and byte-compiled
function defined in project.el.gz.
Signature
(project-search REGEXP)
Documentation
Search for REGEXP in all the files of the project.
Stops when a match is found.
To continue searching for the next match, use the
command M-x fileloop-continue (fileloop-continue).
Probably introduced at or before Emacs version 27.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/project.el.gz
;;;###autoload
(defun project-search (regexp)
"Search for REGEXP in all the files of the project.
Stops when a match is found.
To continue searching for the next match, use the
command \\[fileloop-continue]."
(interactive "sSearch (regexp): ")
(fileloop-initialize-search
regexp
(project-files (project-current t))
'default)
(fileloop-continue))