Mercurial > emacs
changeset 97061:2104d5663cdd
(dired-do-isearch, dired-do-isearch-regexp): New functions.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Mon, 28 Jul 2008 14:28:59 +0000 |
parents | a5fc76bb12d1 |
children | a84502b647f0 |
files | lisp/dired-aux.el |
diffstat | 1 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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.