aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Távora2018-06-08 22:30:46 +0100
committerJoão Távora2018-06-08 22:30:46 +0100
commit38111b5e98380c518aeb1bb7be52b7972a248332 (patch)
treec13d27cb795a71f6e073d05aad055452b72a465b
parent21c6534ef31c7e6439884a0df8523e28e4b12040 (diff)
downloademacs-38111b5e98380c518aeb1bb7be52b7972a248332.tar.gz
emacs-38111b5e98380c518aeb1bb7be52b7972a248332.zip
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.
-rw-r--r--doc/misc/flymake.texi8
-rw-r--r--etc/NEWS3
2 files changed, 11 insertions, 0 deletions
diff --git a/doc/misc/flymake.texi b/doc/misc/flymake.texi
index e7f4da75bb9..502d408f2b8 100644
--- a/doc/misc/flymake.texi
+++ b/doc/misc/flymake.texi
@@ -84,6 +84,10 @@ Syntax check is done ``on-the-fly''. It is started whenever
84@code{flymake-start-on-flymake-mode} is nil; 84@code{flymake-start-on-flymake-mode} is nil;
85 85
86@item 86@item
87the buffer is saved, unless @code{flymake-start-on-save-buffer} is
88nil;
89
90@item
87a newline character is added to the buffer, unless 91a newline character is added to the buffer, unless
88@code{flymake-start-syntax-check-on-newline} is nil; 92@code{flymake-start-syntax-check-on-newline} is nil;
89 93
@@ -220,6 +224,10 @@ after a newline character is inserted into the buffer.
220A boolean flag indicating whether to start syntax check immediately 224A boolean flag indicating whether to start syntax check immediately
221after enabling @code{flymake-mode}. 225after enabling @code{flymake-mode}.
222 226
227@item flymake-start-on-save-buffer
228A boolean flag indicating whether to start syntax check after saving
229the buffer.
230
223@item flymake-error 231@item flymake-error
224A custom face for highlighting regions for which an error has been 232A custom face for highlighting regions for which an error has been
225reported. 233reported.
diff --git a/etc/NEWS b/etc/NEWS
index 3282340f914..46a57b1888c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -183,6 +183,9 @@ shown in the currently selected window.
183You should instead set properties on known diagnostic symbols, like 183You should instead set properties on known diagnostic symbols, like
184':error' and ':warning', as demonstrated in the Flymake manual. 184':error' and ':warning', as demonstrated in the Flymake manual.
185 185
186*** New customizable variable 'flymake-start-on-save-buffer'
187Control whether Flymake starts checking the buffer on save.
188
186** Package 189** Package
187*** New 'package-quickstart' feature 190*** New 'package-quickstart' feature
188When 'package-quickstart' is non-nil, package.el precomputes a big autoloads 191When 'package-quickstart' is non-nil, package.el precomputes a big autoloads