Next: , Previous: Running the syntax check, Up: Using Flymake

3.3 Navigating to error lines

After syntax check is completed, lines for which at least one error or warning has been reported are highlighted, and total number of errors and warning is shown in the mode line. Use the following functions to navigate the highlighted lines.

flymake-goto-next-error Moves point to the next erroneous line, if any.

flymake-goto-prev-error Moves point to the previous erroneous line.

These functions treat erroneous lines as a linked list. Therefore, flymake-goto-next-error will go to the first erroneous line when invoked in the end of the buffer.