1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-05-27 23:56:04 -07:00

Describe flymake-start-on-save-buffer in manual and NEWS

Fixes: bug#31738

* doc/misc/flymake.texi (Using Flymake, Customizable variables):
Mention flymake-start-on-save-buffer.

* etc/NEWS: Mention flymake-start-on-save-buffer.
This commit is contained in:
João Távora 2018-06-08 22:30:46 +01:00
parent 21c6534ef3
commit 38111b5e98
2 changed files with 11 additions and 0 deletions

View file

@ -83,6 +83,10 @@ Syntax check is done ``on-the-fly''. It is started whenever
@code{flymake-mode} is started, unless
@code{flymake-start-on-flymake-mode} is nil;
@item
the buffer is saved, unless @code{flymake-start-on-save-buffer} is
nil;
@item
a newline character is added to the buffer, unless
@code{flymake-start-syntax-check-on-newline} is nil;
@ -220,6 +224,10 @@ after a newline character is inserted into the buffer.
A boolean flag indicating whether to start syntax check immediately
after enabling @code{flymake-mode}.
@item flymake-start-on-save-buffer
A boolean flag indicating whether to start syntax check after saving
the buffer.
@item flymake-error
A custom face for highlighting regions for which an error has been
reported.

View file

@ -183,6 +183,9 @@ shown in the currently selected window.
You should instead set properties on known diagnostic symbols, like
':error' and ':warning', as demonstrated in the Flymake manual.
*** New customizable variable 'flymake-start-on-save-buffer'
Control whether Flymake starts checking the buffer on save.
** Package
*** New 'package-quickstart' feature
When 'package-quickstart' is non-nil, package.el precomputes a big autoloads