From d02766abd72ce34d2e2ece9b7f782238a119278c Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Wed, 18 Apr 2012 14:04:51 +0800 Subject: [PATCH] * lisp/progmodes/grep.el (grep, rgrep): Doc fix. Fixes: debbugs:11268 --- lisp/ChangeLog | 4 ++++ lisp/progmodes/grep.el | 13 +++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 16cf1e347a1..7ef7628b6d6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2012-04-18 Chong Yidong + + * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268). + 2012-04-18 Glenn Morris * net/network-stream.el (open-network-stream): Doc fix. diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index 54d678323f6..79c35100367 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el @@ -728,9 +728,9 @@ This function is called from `compilation-filter-hook'." (defun grep (command-args) "Run grep, with user-specified args, and collect output in a buffer. While grep runs asynchronously, you can use \\[next-error] (M-x next-error), -or \\\\[compile-goto-error] in the grep \ -output buffer, to go to the lines where grep -found matches. +or \\\\[compile-goto-error] in the *grep* \ +buffer, to go to the lines where grep found +matches. To kill the grep job before it finishes, type \\[kill-compilation]. For doing a recursive `grep', see the `rgrep' command. For running `grep' in a specific directory, see `lgrep'. @@ -957,10 +957,11 @@ With \\[universal-argument] prefix, you can edit the constructed shell command l before it is executed. With two \\[universal-argument] prefixes, directly edit and run `grep-find-command'. -Collect output in a buffer. While find runs asynchronously, you -can use \\[next-error] (M-x next-error), or \\\\[compile-goto-error] \ +Collect output in a buffer. While the recursive grep is running, +you can use \\[next-error] (M-x next-error), or \\\\[compile-goto-error] \ in the grep output buffer, -to go to the lines where grep found matches. +to visit the lines where matches were found. To kill the job +before it finishes, type \\[kill-compilation]. This command shares argument histories with \\[lgrep] and \\[grep-find]. -- 2.39.2