[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 49450d0: * lisp/find-dired.el (find-grep-dired):
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-26 49450d0: * lisp/find-dired.el (find-grep-dired): Doc fix. (Bug#29262) |
Date: |
Sun, 12 Nov 2017 00:04:47 -0500 (EST) |
branch: emacs-26
commit 49450d095120f98cc1a42f026fda86500d4ef744
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
* lisp/find-dired.el (find-grep-dired): Doc fix. (Bug#29262)
---
lisp/find-dired.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lisp/find-dired.el b/lisp/find-dired.el
index 2d2540b..3b0613b 100644
--- a/lisp/find-dired.el
+++ b/lisp/find-dired.el
@@ -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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 49450d0: * lisp/find-dired.el (find-grep-dired): Doc fix. (Bug#29262),
Eli Zaretskii <=