Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
49450d09
Commit
49450d09
authored
Nov 12, 2017
by
Eli Zaretskii
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lisp/find-dired.el (find-grep-dired): Doc fix. (Bug#29262)
parent
e286b338
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lisp/find-dired.el
lisp/find-dired.el
+3
-3
No files found.
lisp/find-dired.el
View file @
49450d09
...
...
@@ -255,14 +255,14 @@ See `find-name-arg' to customize the arguments."
(
defalias
'lookfor-dired
'find-grep-dired
)
;;;###autoload
(
defun
find-grep-dired
(
dir
regexp
)
"Find files in DIR
matching a regexp
REGEXP and start Dired on output.
"Find files in DIR
that contain matches for
REGEXP and start Dired on output.
The command run (after changing into DIR) is
find . \\( -type f -exec `grep-program' `find-grep-options' \\
-e REGEXP {} \\; \\) -ls
where the
car
of the variable `find-ls-option'
specifies what to
use in place of \"-ls\" as the final argument."
where the
first string in the value
of the variable `find-ls-option'
specifies what to
use in place of \"-ls\" as the final argument."
;; Doc used to say "Thus ARG can also contain additional grep options."
;; i) Presumably ARG == REGEXP?
;; ii) No it can't have options, since it gets shell-quoted.
...
...
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