> > On Wed, Jun 6, 2018 at 8:57 PM, Michał Kondraciuk > wrote: > > > > The Flymake manual says that syntax checking is started whenever > > > > - ‘flymake-mode’ is started, unless ‘flymake-start-on-flymake-mode’ > > is nil; > > - a newline character is added to the buffer, unless > > ‘flymake-start-syntax-check-on-newline’ is nil; > > - some changes were made to the buffer more than ‘0.5’ seconds ago > > > > > > But it doesn't mention that Flymake also starts in 'after-save-hook. > > Also, I think there should be an option to disable checking the buffer > > on save. > > Well, you can (add-hook 'flymake-mode-hook (lambda () (remove-hook 'after-save-hook 'flymake-after-save-hook t))) But an option makes more sense. Regarding the manual, you are also right. I will do this for 26.2. João