(generate-autoload-cookie): Define for compiler.

This commit is contained in:
Glenn Morris 2009-10-24 03:44:42 +00:00
parent d270305a65
commit e8f2a5d597
2 changed files with 6 additions and 0 deletions

View file

@ -1,5 +1,8 @@
2009-10-24 Glenn Morris <rgm@gnu.org>
* emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
compiler.
* vc-hooks.el (vc-responsible-backend): Fix declaration.
2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>

View file

@ -2066,6 +2066,7 @@ If the offending word is in a piece of quoted text, then it is skipped."
(progn
(forward-sexp -1)
;; piece of an abbreviation
;; FIXME etc
(looking-at
"\\([a-z]\\|[iI]\\.?e\\|[eE]\\.?g\\)\\."))
(error t))))
@ -2216,6 +2217,8 @@ News agents may remove it"
;; b) determine if we have lm-history symbol which doesn't always exist
(require 'lisp-mnt))
(defvar generate-autoload-cookie)
(defun checkdoc-file-comments-engine ()
"Return a message list if this file does not match the Emacs standard.
This checks for style only, such as the first line, Commentary:,