From a0f0f08a521d3119ab08da3c4f1697fd67092183 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 10 Jun 2015 09:11:20 -0400 Subject: [PATCH] * lisp/emacs-lisp/checkdoc.el: Use lexical-binding (finder-known-keywords): Silence byte-compiler. --- lisp/emacs-lisp/checkdoc.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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'." -- 2.39.2