Commit 160c8be6 authored by Juri Linkov's avatar Juri Linkov
Browse files

(dired-do-isearch, dired-do-isearch-regexp): New functions.

parent 14f798ff
......@@ -2281,6 +2281,20 @@ Use \\[dired-hide-subdir] to (un)hide a particular subdirectory."
;; Functions for searching in tags style among marked files.
;;;###autoload
(defun dired-do-isearch ()
"Search for a string through all marked files using Isearch."
(interactive)
(multi-isearch-files
(dired-get-marked-files nil nil 'dired-nondirectory-p)))
;;;###autoload
(defun dired-do-isearch-regexp ()
"Search for a regexp through all marked files using Isearch."
(interactive)
(multi-isearch-files-regexp
(dired-get-marked-files nil nil 'dired-nondirectory-p)))
;;;###autoload
(defun dired-do-search (regexp)
"Search through all marked files for a match for REGEXP.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment