diff options
| -rw-r--r-- | lisp/dired-aux.el | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index 3950b783bd3..523f29e1b63 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el | |||
| @@ -2282,6 +2282,20 @@ Use \\[dired-hide-subdir] to (un)hide a particular subdirectory." | |||
| 2282 | ;; Functions for searching in tags style among marked files. | 2282 | ;; Functions for searching in tags style among marked files. |
| 2283 | 2283 | ||
| 2284 | ;;;###autoload | 2284 | ;;;###autoload |
| 2285 | (defun dired-do-isearch () | ||
| 2286 | "Search for a string through all marked files using Isearch." | ||
| 2287 | (interactive) | ||
| 2288 | (multi-isearch-files | ||
| 2289 | (dired-get-marked-files nil nil 'dired-nondirectory-p))) | ||
| 2290 | |||
| 2291 | ;;;###autoload | ||
| 2292 | (defun dired-do-isearch-regexp () | ||
| 2293 | "Search for a regexp through all marked files using Isearch." | ||
| 2294 | (interactive) | ||
| 2295 | (multi-isearch-files-regexp | ||
| 2296 | (dired-get-marked-files nil nil 'dired-nondirectory-p))) | ||
| 2297 | |||
| 2298 | ;;;###autoload | ||
| 2285 | (defun dired-do-search (regexp) | 2299 | (defun dired-do-search (regexp) |
| 2286 | "Search through all marked files for a match for REGEXP. | 2300 | "Search through all marked files for a match for REGEXP. |
| 2287 | Stops when a match is found. | 2301 | Stops when a match is found. |