From c6d464ec64f5328b243f14fe44e0ff974cd49de5 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 19 Jul 1998 22:17:03 +0000 Subject: [PATCH] (grep): Doc fix. (next-error): Doc fix. --- lisp/progmodes/compile.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 92ff015f28f..73646cd6991 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 \\\\[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. -- 2.39.2