Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
2297e912
Commit
2297e912
authored
Oct 22, 1994
by
Roland McGrath
Browse files
(dired-do-tags-search, dired-do-tags-query-replace): New functions.
parent
866a7035
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
lisp/dired-aux.el
lisp/dired-aux.el
+22
-0
No files found.
lisp/dired-aux.el
View file @
2297e912
...
...
@@ -1857,6 +1857,28 @@ Use \\[dired-hide-subdir] to (un)hide a particular subdirectory."
;;;###end dired-ins.el
;; Functions for searching in tags style among marked files.
;;;###autoload
(
defun
dired-do-tags-search
(
regexp
)
"Search through all marked files for a match for REGEXP.
Stops when a match is found.
To continue searching for next match, use command \\[tags-loop-continue]."
(
interactive
"sSearch marked files (regexp): "
)
(
tags-search
regexp
'
(
dired-get-marked-files
)))
;;;###autoload
(
defun
dired-do-tags-query-replace
(
from
to
&optional
delimited
)
"Query-replace-regexp FROM with TO through all marked files.
Third arg DELIMITED (prefix arg) means replace only word-delimited matches.
If you exit (\\[keyboard-quit] or ESC), you can resume the query-replace
with the command \\[tags-loop-continue]."
(
interactive
"sQuery replace in marked files (regexp): \nsQuery replace %s by: \nP"
)
(
tags-query-replace
from
to
delimited
'
(
dired-get-marked-files
)))
(
provide
'dired-aux
)
;;; dired-aux.el ends here
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment