Avoid a compilation warning

* lisp/emacs-lisp/package.el: Avoid a compilation warning by declaring
the `find-library-name' function.
This commit is contained in:
Sam Steingold 2014-12-18 15:23:15 -05:00
parent 8f03888e7f
commit 0f765f454d
2 changed files with 6 additions and 0 deletions

View file

@ -559,6 +559,7 @@ correspond to previously loaded files (those returned by
;; Don't return nil.
t))
(declare-function find-library-name "find-func" (library))
(defun package--list-loaded-files (dir)
"Recursively list all files in DIR which correspond to loaded features.
Returns the `file-name-sans-extension' of each file, relative to