diff options
| author | Eli Zaretskii | 2015-11-28 14:32:04 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2015-11-28 14:32:04 +0200 |
| commit | d4ade2c8fac7d0279a62c71f5a29835b986581e0 (patch) | |
| tree | 482101473e39ee8e0511747502994ca847c9ca21 /etc | |
| parent | c217802b0f1b5b2b3858b1036a71b9570d0b5cbe (diff) | |
| download | emacs-d4ade2c8fac7d0279a62c71f5a29835b986581e0.tar.gz emacs-d4ade2c8fac7d0279a62c71f5a29835b986581e0.zip | |
Document new checkdoc features
* doc/lispref/tips.texi (Tips, Library Headers): Document the
keyword-checking features of checkdoc and the commands
'checkdoc-file' and 'checkdoc-current-buffer'.
* etc/NEWS: Move the checkdoc-related entries to their own
section.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 22 |
1 files changed, 13 insertions, 9 deletions
| @@ -135,15 +135,6 @@ frames. | |||
| 135 | Works for functions, variables, faces, etc. It is bound to `C-h o' by | 135 | Works for functions, variables, faces, etc. It is bound to `C-h o' by |
| 136 | default. | 136 | default. |
| 137 | 137 | ||
| 138 | ** New command `checkdoc-package-keywords' checks if the | ||
| 139 | current package keywords are recognized. Set the new option | ||
| 140 | `checkdoc-package-keywords-flag' to non-nil to make | ||
| 141 | `checkdoc-current-buffer' call this function automatically. | ||
| 142 | |||
| 143 | ** New function `checkdoc-file' checks for style errors. | ||
| 144 | It's meant for use together with `compile': | ||
| 145 | emacs -batch --eval "(checkdoc-file \"subr.el\")" | ||
| 146 | |||
| 147 | ** New command `comment-line' bound to `C-x C-;'. | 138 | ** New command `comment-line' bound to `C-x C-;'. |
| 148 | 139 | ||
| 149 | ** New function `custom-prompt-customize-unsaved-options' checks for | 140 | ** New function `custom-prompt-customize-unsaved-options' checks for |
| @@ -360,6 +351,19 @@ standards. | |||
| 360 | 351 | ||
| 361 | * Changes in Specialized Modes and Packages in Emacs 25.1 | 352 | * Changes in Specialized Modes and Packages in Emacs 25.1 |
| 362 | 353 | ||
| 354 | ** Checkdoc | ||
| 355 | |||
| 356 | +++ | ||
| 357 | *** New command `checkdoc-package-keywords' checks if the | ||
| 358 | current package keywords are recognized. Set the new option | ||
| 359 | `checkdoc-package-keywords-flag' to non-nil to make | ||
| 360 | `checkdoc-current-buffer' call this function automatically. | ||
| 361 | |||
| 362 | +++ | ||
| 363 | *** New function `checkdoc-file' checks for style errors. | ||
| 364 | It's meant for use together with `compile': | ||
| 365 | emacs -batch --eval "(checkdoc-file \"subr.el\")" | ||
| 366 | |||
| 363 | ** New function `bookmark-set-no-overwrite' bound to C-x r M. | 367 | ** New function `bookmark-set-no-overwrite' bound to C-x r M. |
| 364 | It raises an error if a bookmark of that name already exists, | 368 | It raises an error if a bookmark of that name already exists, |
| 365 | unlike `bookmark-set' which silently updates an existing bookmark. | 369 | unlike `bookmark-set' which silently updates an existing bookmark. |