diff options
| author | João Távora | 2018-06-08 22:30:46 +0100 |
|---|---|---|
| committer | João Távora | 2018-06-08 22:30:46 +0100 |
| commit | 38111b5e98380c518aeb1bb7be52b7972a248332 (patch) | |
| tree | c13d27cb795a71f6e073d05aad055452b72a465b | |
| parent | 21c6534ef31c7e6439884a0df8523e28e4b12040 (diff) | |
| download | emacs-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.texi | 8 | ||||
| -rw-r--r-- | etc/NEWS | 3 |
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 |
| 87 | the buffer is saved, unless @code{flymake-start-on-save-buffer} is | ||
| 88 | nil; | ||
| 89 | |||
| 90 | @item | ||
| 87 | a newline character is added to the buffer, unless | 91 | a 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. | |||
| 220 | A boolean flag indicating whether to start syntax check immediately | 224 | A boolean flag indicating whether to start syntax check immediately |
| 221 | after enabling @code{flymake-mode}. | 225 | after enabling @code{flymake-mode}. |
| 222 | 226 | ||
| 227 | @item flymake-start-on-save-buffer | ||
| 228 | A boolean flag indicating whether to start syntax check after saving | ||
| 229 | the buffer. | ||
| 230 | |||
| 223 | @item flymake-error | 231 | @item flymake-error |
| 224 | A custom face for highlighting regions for which an error has been | 232 | A custom face for highlighting regions for which an error has been |
| 225 | reported. | 233 | reported. |
| @@ -183,6 +183,9 @@ shown in the currently selected window. | |||
| 183 | You should instead set properties on known diagnostic symbols, like | 183 | You 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' | ||
| 187 | Control whether Flymake starts checking the buffer on save. | ||
| 188 | |||
| 186 | ** Package | 189 | ** Package |
| 187 | *** New 'package-quickstart' feature | 190 | *** New 'package-quickstart' feature |
| 188 | When 'package-quickstart' is non-nil, package.el precomputes a big autoloads | 191 | When 'package-quickstart' is non-nil, package.el precomputes a big autoloads |