Starting Flymake
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-modeis started, unlessflymake-start-on-flymake-modeisnil;- the buffer is saved, unless
flymake-start-on-save-bufferisnil; - some changes were made to the buffer more than
0.5seconds ago (the delay is configurable inflymake-no-changes-timeout). - When the user invokes the command
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.