From: Stefan Monnier Date: Wed, 10 Jun 2015 13:11:20 +0000 (-0400) Subject: * lisp/emacs-lisp/checkdoc.el: Use lexical-binding X-Git-Tag: emacs-25.0.90~1812 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a0f0f08a521d3119ab08da3c4f1697fd67092183;p=emacs.git * lisp/emacs-lisp/checkdoc.el: Use lexical-binding (finder-known-keywords): Silence byte-compiler. --- 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'."