diff options
| author | Juri Linkov | 2008-07-28 14:28:59 +0000 |
|---|---|---|
| committer | Juri Linkov | 2008-07-28 14:28:59 +0000 |
| commit | 160c8be62334146f475096cdae003da6597675f1 (patch) | |
| tree | f0779892bf7f78309360c8592f5f697d34a5d218 | |
| parent | 14f798ff7e357b537ff47f65041588a153530621 (diff) | |
| download | emacs-160c8be62334146f475096cdae003da6597675f1.tar.gz emacs-160c8be62334146f475096cdae003da6597675f1.zip | |
(dired-do-isearch, dired-do-isearch-regexp): New functions.
| -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. |