diff options
| author | Glenn Morris | 2015-06-10 17:06:02 -0400 |
|---|---|---|
| committer | Glenn Morris | 2015-06-10 17:06:02 -0400 |
| commit | 7c24a2c2101cd54f9bfdbe61daddd068b556afb0 (patch) | |
| tree | 494ab92f948bb46c0e8d9094d79a1653e02cae19 | |
| parent | fb7234019fe279e9122c4178fce975bffa0d8c55 (diff) | |
| download | emacs-7c24a2c2101cd54f9bfdbe61daddd068b556afb0.tar.gz emacs-7c24a2c2101cd54f9bfdbe61daddd068b556afb0.zip | |
* 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.el | 2 |
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." | |||
| 2654 | 2654 | ||
| 2655 | (defun checkdoc-get-keywords () | 2655 | (defun checkdoc-get-keywords () |
| 2656 | "Return a list of package keywords for the current file." | 2656 | "Return a list of package keywords for the current file." |
| 2657 | (require 'finder) | ||
| 2658 | (save-excursion | 2657 | (save-excursion |
| 2659 | (goto-char (point-min)) | 2658 | (goto-char (point-min)) |
| 2660 | (when (re-search-forward "^;; Keywords: \\(.*\\)$" nil t) | 2659 | (when (re-search-forward "^;; Keywords: \\(.*\\)$" nil t) |
| @@ -2666,6 +2665,7 @@ function called to create the messages." | |||
| 2666 | (defun checkdoc-package-keywords () | 2665 | (defun checkdoc-package-keywords () |
| 2667 | "Find package keywords that aren't in `finder-known-keywords'." | 2666 | "Find package keywords that aren't in `finder-known-keywords'." |
| 2668 | (interactive) | 2667 | (interactive) |
| 2668 | (require 'finder) | ||
| 2669 | (let ((unrecognized-keys | 2669 | (let ((unrecognized-keys |
| 2670 | (cl-remove-if | 2670 | (cl-remove-if |
| 2671 | (lambda (x) (assoc (intern-soft x) finder-known-keywords)) | 2671 | (lambda (x) (assoc (intern-soft x) finder-known-keywords)) |