Next: , Previous: , Up: Using Flymake   [Contents][Index]

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-errorMoves point to the next erroneous line, if any.
flymake-goto-prev-errorMoves 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.