aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2017-11-12 07:03:48 +0200
committerEli Zaretskii2017-11-12 07:03:48 +0200
commit49450d095120f98cc1a42f026fda86500d4ef744 (patch)
treebd0c3886b07cc2d686ba711df400f1e502953479
parente286b3381fa1be64174832560da963b1c0191640 (diff)
downloademacs-49450d095120f98cc1a42f026fda86500d4ef744.tar.gz
emacs-49450d095120f98cc1a42f026fda86500d4ef744.zip
* lisp/find-dired.el (find-grep-dired): Doc fix. (Bug#29262)
-rw-r--r--lisp/find-dired.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/find-dired.el b/lisp/find-dired.el
index 2d2540b1330..3b0613b2806 100644
--- a/lisp/find-dired.el
+++ b/lisp/find-dired.el
@@ -255,14 +255,14 @@ See `find-name-arg' to customize the arguments."
255(defalias 'lookfor-dired 'find-grep-dired) 255(defalias 'lookfor-dired 'find-grep-dired)
256;;;###autoload 256;;;###autoload
257(defun find-grep-dired (dir regexp) 257(defun find-grep-dired (dir regexp)
258 "Find files in DIR matching a regexp REGEXP and start Dired on output. 258 "Find files in DIR that contain matches for REGEXP and start Dired on output.
259The command run (after changing into DIR) is 259The command run (after changing into DIR) is
260 260
261 find . \\( -type f -exec `grep-program' `find-grep-options' \\ 261 find . \\( -type f -exec `grep-program' `find-grep-options' \\
262 -e REGEXP {} \\; \\) -ls 262 -e REGEXP {} \\; \\) -ls
263 263
264where the car of the variable `find-ls-option' specifies what to 264where the first string in the value of the variable `find-ls-option'
265use in place of \"-ls\" as the final argument." 265specifies what to use in place of \"-ls\" as the final argument."
266 ;; Doc used to say "Thus ARG can also contain additional grep options." 266 ;; Doc used to say "Thus ARG can also contain additional grep options."
267 ;; i) Presumably ARG == REGEXP? 267 ;; i) Presumably ARG == REGEXP?
268 ;; ii) No it can't have options, since it gets shell-quoted. 268 ;; ii) No it can't have options, since it gets shell-quoted.