summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorOleh Krehel <ohwoeowho@gmail.com>2015-06-08 16:41:00 +0200
committerOleh Krehel <ohwoeowho@gmail.com>2015-06-08 16:54:51 +0200
commit20de61c833d4c975dc1ed3062d8de75df8b5cd93 (patch)
tree29e05d2e77443f133e3203af4e927f5bd1822301 /etc
parent296dadb14e19926de1fc5e0015cb8d4f10f9547a (diff)
downloademacs-20de61c833d4c975dc1ed3062d8de75df8b5cd93.tar.gz
Add new command checkdoc-package-keywords
* lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag): New defcustom. (checkdoc-list-of-strings-p): Add doc. (checkdoc-current-buffer): When `checkdoc-package-keywords-flag' is non-nil, call `checkdoc-package-keywords'. (checkdoc-get-keywords): New defun. (checkdoc-package-keywords): New command. Warns if the current file has package.el-style keywords that aren't in `finder-known-keywords'. * etc/NEWS: Add entry.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 51d0a5f4fec..571adadc61c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -84,6 +84,11 @@ command line when `initial-buffer-choice' is non-nil.
* Changes in Emacs 25.1
+** New command `checkdoc-package-keywords' checks if the
+current package keywords are recognized. Set the new option
+`checkdoc-package-keywords-flag' to non-nil to make
+`checkdoc-current-buffer' call this function automatically.
+
** New function `checkdoc-file' checks for style errors.
It's meant for use together with `compile':
emacs -batch --eval "(checkdoc-file \"subr.el\")"