aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2008-07-28 14:28:59 +0000
committerJuri Linkov2008-07-28 14:28:59 +0000
commit160c8be62334146f475096cdae003da6597675f1 (patch)
treef0779892bf7f78309360c8592f5f697d34a5d218
parent14f798ff7e357b537ff47f65041588a153530621 (diff)
downloademacs-160c8be62334146f475096cdae003da6597675f1.tar.gz
emacs-160c8be62334146f475096cdae003da6597675f1.zip
(dired-do-isearch, dired-do-isearch-regexp): New functions.
-rw-r--r--lisp/dired-aux.el14
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.
2287Stops when a match is found. 2301Stops when a match is found.