* lisp/emacs-lisp/checkdoc.el (checkdoc-get-keywords):
Move requiring of finder from here... (checkdoc-package-keywords): ... to here.
This commit is contained in:
parent
fb7234019f
commit
7c24a2c210
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue