emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 7c24a2c: * lisp/emacs-lisp/checkdoc.el (checkdoc-ge


From: Glenn Morris
Subject: [Emacs-diffs] master 7c24a2c: * lisp/emacs-lisp/checkdoc.el (checkdoc-get-keywords):
Date: Wed, 10 Jun 2015 21:06:05 +0000

branch: master
commit 7c24a2c2101cd54f9bfdbe61daddd068b556afb0
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    * lisp/emacs-lisp/checkdoc.el (checkdoc-get-keywords):
    
    Move requiring of finder from here...
    (checkdoc-package-keywords): ... to here.
---
 lisp/emacs-lisp/checkdoc.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el
index d928a0d..0b451ef 100644
--- a/lisp/emacs-lisp/checkdoc.el
+++ b/lisp/emacs-lisp/checkdoc.el
@@ -2654,7 +2654,6 @@ function called to create the messages."
 
 (defun checkdoc-get-keywords ()
   "Return a list of package keywords for the current file."
-  (require 'finder)
   (save-excursion
     (goto-char (point-min))
     (when (re-search-forward "^;; Keywords: \\(.*\\)$" nil t)
@@ -2666,6 +2665,7 @@ function called to create the messages."
 (defun checkdoc-package-keywords ()
   "Find package keywords that aren't in `finder-known-keywords'."
   (interactive)
+  (require 'finder)
   (let ((unrecognized-keys
          (cl-remove-if
           (lambda (x) (assoc (intern-soft x) finder-known-keywords))



reply via email to

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