aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/dired-aux.el22
1 files changed, 22 insertions, 0 deletions
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index faf69620148..878e5c57108 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -1857,6 +1857,28 @@ Use \\[dired-hide-subdir] to (un)hide a particular subdirectory."
1857 1857
1858;;;###end dired-ins.el 1858;;;###end dired-ins.el
1859 1859
1860
1861;; Functions for searching in tags style among marked files.
1862
1863;;;###autoload
1864(defun dired-do-tags-search (regexp)
1865 "Search through all marked files for a match for REGEXP.
1866Stops when a match is found.
1867To continue searching for next match, use command \\[tags-loop-continue]."
1868 (interactive "sSearch marked files (regexp): ")
1869 (tags-search regexp '(dired-get-marked-files)))
1870
1871;;;###autoload
1872(defun dired-do-tags-query-replace (from to &optional delimited)
1873 "Query-replace-regexp FROM with TO through all marked files.
1874Third arg DELIMITED (prefix arg) means replace only word-delimited matches.
1875If you exit (\\[keyboard-quit] or ESC), you can resume the query-replace
1876with the command \\[tags-loop-continue]."
1877 (interactive
1878 "sQuery replace in marked files (regexp): \nsQuery replace %s by: \nP")
1879 (tags-query-replace from to delimited '(dired-get-marked-files)))
1880
1881
1860(provide 'dired-aux) 1882(provide 'dired-aux)
1861 1883
1862;;; dired-aux.el ends here 1884;;; dired-aux.el ends here