summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/checkdoc.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2015-06-10 09:11:20 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2015-06-10 09:11:20 -0400
commita0f0f08a521d3119ab08da3c4f1697fd67092183 (patch)
treef9ecd1549127344b368f13c5cbd01e9930d49d68 /lisp/emacs-lisp/checkdoc.el
parent683e995e53aac51eb2fea4eeaf630a51bdc714f5 (diff)
downloademacs-a0f0f08a521d3119ab08da3c4f1697fd67092183.tar.gz
emacs-a0f0f08a521d3119ab08da3c4f1697fd67092183.tar.bz2
emacs-a0f0f08a521d3119ab08da3c4f1697fd67092183.zip
* lisp/emacs-lisp/checkdoc.el: Use lexical-binding
(finder-known-keywords): Silence byte-compiler.
Diffstat (limited to 'lisp/emacs-lisp/checkdoc.el')
-rw-r--r--lisp/emacs-lisp/checkdoc.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el
index b20e4f1e2df..d928a0d5992 100644
--- a/lisp/emacs-lisp/checkdoc.el
+++ b/lisp/emacs-lisp/checkdoc.el
@@ -1,4 +1,4 @@
-;;; checkdoc.el --- check documentation strings for style requirements
+;;; checkdoc.el --- check documentation strings for style requirements -*- lexical-binding:t -*-
;; Copyright (C) 1997-1998, 2001-2015 Free Software Foundation, Inc.
@@ -2660,6 +2660,8 @@ function called to create the messages."
(when (re-search-forward "^;; Keywords: \\(.*\\)$" nil t)
(split-string (match-string-no-properties 1) ", " t))))
+(defvar finder-known-keywords)
+
;;;###autoload
(defun checkdoc-package-keywords ()
"Find package keywords that aren't in `finder-known-keywords'."