]> code.delx.au - gnu-emacs/commitdiff
* lisp/emacs-lisp/checkdoc.el: Use lexical-binding
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 10 Jun 2015 13:11:20 +0000 (09:11 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 10 Jun 2015 13:11:20 +0000 (09:11 -0400)
(finder-known-keywords): Silence byte-compiler.

lisp/emacs-lisp/checkdoc.el

index b20e4f1e2df8225c993826fa87e12a01c5d2a6a1..d928a0d5992d3c9ba602ecd5f620a9718610efca 100644 (file)
@@ -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'."