diff options
| author | Chong Yidong | 2012-04-18 14:04:51 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-04-18 14:04:51 +0800 |
| commit | d02766abd72ce34d2e2ece9b7f782238a119278c (patch) | |
| tree | 79c7d7b295225bc52dc3ae50e96f4a10de28c08d | |
| parent | 016a35dfa7c48255b7e461dc8a2441a643c8731c (diff) | |
| download | emacs-d02766abd72ce34d2e2ece9b7f782238a119278c.tar.gz emacs-d02766abd72ce34d2e2ece9b7f782238a119278c.zip | |
* lisp/progmodes/grep.el (grep, rgrep): Doc fix.
Fixes: debbugs:11268
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | 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 @@ | |||
| 1 | 2012-04-18 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268). | ||
| 4 | |||
| 1 | 2012-04-18 Glenn Morris <rgm@gnu.org> | 5 | 2012-04-18 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * net/network-stream.el (open-network-stream): Doc fix. | 7 | * 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'." | |||
| 728 | (defun grep (command-args) | 728 | (defun grep (command-args) |
| 729 | "Run grep, with user-specified args, and collect output in a buffer. | 729 | "Run grep, with user-specified args, and collect output in a buffer. |
| 730 | While grep runs asynchronously, you can use \\[next-error] (M-x next-error), | 730 | While grep runs asynchronously, you can use \\[next-error] (M-x next-error), |
| 731 | or \\<grep-mode-map>\\[compile-goto-error] in the grep \ | 731 | or \\<grep-mode-map>\\[compile-goto-error] in the *grep* \ |
| 732 | output buffer, to go to the lines where grep | 732 | buffer, to go to the lines where grep found |
| 733 | found matches. | 733 | matches. To kill the grep job before it finishes, type \\[kill-compilation]. |
| 734 | 734 | ||
| 735 | For doing a recursive `grep', see the `rgrep' command. For running | 735 | For doing a recursive `grep', see the `rgrep' command. For running |
| 736 | `grep' in a specific directory, see `lgrep'. | 736 | `grep' in a specific directory, see `lgrep'. |
| @@ -957,10 +957,11 @@ With \\[universal-argument] prefix, you can edit the constructed shell command l | |||
| 957 | before it is executed. | 957 | before it is executed. |
| 958 | With two \\[universal-argument] prefixes, directly edit and run `grep-find-command'. | 958 | With two \\[universal-argument] prefixes, directly edit and run `grep-find-command'. |
| 959 | 959 | ||
| 960 | Collect output in a buffer. While find runs asynchronously, you | 960 | Collect output in a buffer. While the recursive grep is running, |
| 961 | can use \\[next-error] (M-x next-error), or \\<grep-mode-map>\\[compile-goto-error] \ | 961 | you can use \\[next-error] (M-x next-error), or \\<grep-mode-map>\\[compile-goto-error] \ |
| 962 | in the grep output buffer, | 962 | in the grep output buffer, |
| 963 | to go to the lines where grep found matches. | 963 | to visit the lines where matches were found. To kill the job |
| 964 | before it finishes, type \\[kill-compilation]. | ||
| 964 | 965 | ||
| 965 | This command shares argument histories with \\[lgrep] and \\[grep-find]. | 966 | This command shares argument histories with \\[lgrep] and \\[grep-find]. |
| 966 | 967 | ||