GPLv3

checkdoc-autoload.el

This spot of code extends Emacs M-x checkdoc to check for some autoload cookies on defgroup,

;;;###autoload
(defgroup foo)
At least one command entrypoint,
;;;###autoload
(defun some-command ()
  (interactive)
  ...)
And any safe-local-variable or risky-local-variable,
;;;###autoload
(put 'some-variable 'safe-local-variable t)
Such autoloads are ready for update-file-autoloads and friends to pick up. Even if you don't use that autoload/loaddefs mechanism yourself it's good for others who might.

checkdoc-autoload.el is free software (free as in freedom), published under the terms of the GNU General Public License (v3 or up).

Download version 3,

The sig file is a Gnu PG ascii armoured signature for checkdoc-autoload.el, generated from my key.


el-get includes a checkdoc-autoload.rcp install recipe.

See also checkdoc-keywords.el, checkdoc-url-buttonize.el, and checkdoc-batch.el.


This page Copyright 2010, 2011, 2013, 2014, 2015, 2016, 2017 Kevin Ryde, except for the GPLv3 logo which is Copyright Free Software Foundation and used here in accordance with its terms.

(Back to the sitemap.)