# HG changeset patch # User Richard M. Stallman # Date 900886623 0 # Node ID 2f2d06c1f6b642d7a440d9889024916d1279f8fe # Parent b1418bc30131527a270b98c8d9e4976deb9201a1 (grep): Doc fix. (next-error): Doc fix. diff -r b1418bc30131 -r 2f2d06c1f6b6 lisp/progmodes/compile.el --- 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 \\\\[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.