aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1998-07-19 22:17:03 +0000
committerRichard M. Stallman <[email protected]>1998-07-19 22:17:03 +0000
commitc6d464ec64f5328b243f14fe44e0ff974cd49de5 (patch)
tree7c410c81780e8bc9024016af40c80e8b492f852c /lisp/progmodes
parenteee03ff8abc24f70cb8e9c480ceed1bd0feee238 (diff)
(grep): Doc fix.
(next-error): Doc fix.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/compile.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 92ff015f28..73646cd699 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -557,8 +557,9 @@ to a function that generates a unique name."
;;;###autoload
(defun grep (command-args)
"Run grep, with user-specified args, and collect output in a buffer.
-While grep runs asynchronously, you can use the \\[next-error] command
-to find the text that grep hits refer to.
+While grep runs asynchronously, you can use \\[next-error] \
+or \\<compilation-minor-mode-map>\\[compile-goto-error]
+to go to the lines where grep found matches.
This command uses a special history list for its arguments, so you can
easily repeat a grep command.
@@ -1344,7 +1345,7 @@ other kinds of prefix arguments are ignored."
;;;###autoload
(defun next-error (&optional argp)
"Visit next compilation error message and corresponding source code.
-This operates on the output from the \\[compile] command.
+This operates on the output from the \\[compile] and \\[grep] commands.
If all preparsed error messages have been processed,
the error message buffer is checked for new ones.