aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorEli Zaretskii2015-11-28 14:32:04 +0200
committerEli Zaretskii2015-11-28 14:32:04 +0200
commitd4ade2c8fac7d0279a62c71f5a29835b986581e0 (patch)
tree482101473e39ee8e0511747502994ca847c9ca21 /etc
parentc217802b0f1b5b2b3858b1036a71b9570d0b5cbe (diff)
downloademacs-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/NEWS22
1 files changed, 13 insertions, 9 deletions
diff --git a/etc/NEWS b/etc/NEWS
index daa5003fb81..4e06e31c1b4 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -135,15 +135,6 @@ frames.
135Works for functions, variables, faces, etc. It is bound to `C-h o' by 135Works for functions, variables, faces, etc. It is bound to `C-h o' by
136default. 136default.
137 137
138** New command `checkdoc-package-keywords' checks if the
139current 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.
144It's meant for use together with `compile':
145emacs -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
358current 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.
364It's meant for use together with `compile':
365emacs -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.
364It raises an error if a bookmark of that name already exists, 368It raises an error if a bookmark of that name already exists,
365unlike `bookmark-set' which silently updates an existing bookmark. 369unlike `bookmark-set' which silently updates an existing bookmark.