To use Flymake, activate the minor-mode flymake-mode
.
Use the command flymake-mode to toggle it on and off. The
mode line should indicate its presence via an indicator (see Mode line status).
Syntax checks happen “on-the-fly”. Each check is started whenever:
flymake-mode
is started, unless
flymake-start-on-flymake-mode
is nil
;
flymake-start-on-save-buffer
is
nil
;
0.5
seconds ago
(the delay is configurable in flymake-no-changes-timeout
).
flymake-start
.
If the check detected errors or warnings, the respective buffer regions are highlighted. See Finding diagnostics, for how to learn what the problems are.