# HG changeset patch # User Juri Linkov # Date 1217255339 0 # Node ID 2104d5663cddc2e80b74939a5d9978b7a9325974 # Parent a5fc76bb12d1972c382bab3f4a954179e7e6023d (dired-do-isearch, dired-do-isearch-regexp): New functions. diff -r a5fc76bb12d1 -r 2104d5663cdd lisp/dired-aux.el --- a/lisp/dired-aux.el Mon Jul 28 13:19:10 2008 +0000 +++ b/lisp/dired-aux.el Mon Jul 28 14:28:59 2008 +0000 @@ -2282,6 +2282,20 @@ ;; 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. Stops when a match is found.