summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2015-06-10 17:06:02 -0400
committerGlenn Morris <rgm@gnu.org>2015-06-10 17:06:02 -0400
commit7c24a2c2101cd54f9bfdbe61daddd068b556afb0 (patch)
tree494ab92f948bb46c0e8d9094d79a1653e02cae19
parentfb7234019fe279e9122c4178fce975bffa0d8c55 (diff)
downloademacs-7c24a2c2101cd54f9bfdbe61daddd068b556afb0.tar.gz
* lisp/emacs-lisp/checkdoc.el (checkdoc-get-keywords):
Move requiring of finder from here... (checkdoc-package-keywords): ... to here.
-rw-r--r--lisp/emacs-lisp/checkdoc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el
index d928a0d5992..0b451ef6b2a 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))