emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master a0f0f08: * lisp/emacs-lisp/checkdoc.el: Use lexical


From: Stefan Monnier
Subject: [Emacs-diffs] master a0f0f08: * lisp/emacs-lisp/checkdoc.el: Use lexical-binding
Date: Wed, 10 Jun 2015 13:11:28 +0000

branch: master
commit a0f0f08a521d3119ab08da3c4f1697fd67092183
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>

    * lisp/emacs-lisp/checkdoc.el: Use lexical-binding
    
    (finder-known-keywords): Silence byte-compiler.
---
 lisp/emacs-lisp/checkdoc.el |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el
index b20e4f1..d928a0d 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'."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]