Function: dired-do-search
dired-do-search is an autoloaded, interactive and byte-compiled
function defined in dired-aux.el.gz.
Signature
(dired-do-search REGEXP)
Documentation
Search through all marked files for a match for REGEXP.
If no files are marked, search through the file under point.
Stops when a match is found.
To continue searching for next match, use command M-x fileloop-continue (fileloop-continue).
Probably introduced at or before Emacs version 19.29.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/dired-aux.el.gz
;;;###autoload
(defun dired-do-search (regexp)
"Search through all marked files for a match for REGEXP.
If no files are marked, search through the file under point.
Stops when a match is found.
To continue searching for next match, use command \\[fileloop-continue]."
(interactive "sSearch marked files (regexp): " dired-mode)
(fileloop-initialize-search
regexp
(dired-get-marked-files nil nil #'dired-nondirectory-p)
'default)
(dired-post-do-command)
(fileloop-continue))