Mercurial > emacs
diff lisp/progmodes/compile.el @ 22787:2f2d06c1f6b6
(grep): Doc fix.
(next-error): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 19 Jul 1998 22:17:03 +0000 |
parents | 892421e6b7b4 |
children | 77b190eb087b |
line wrap: on
line diff
--- a/lisp/progmodes/compile.el Sun Jul 19 22:11:47 1998 +0000 +++ b/lisp/progmodes/compile.el Sun Jul 19 22:17:03 1998 +0000 @@ -557,8 +557,9 @@ ;;;###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 @@ ;;;###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.