summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorSam Steingold <sds@gnu.org>2014-12-18 15:23:15 -0500
committerSam Steingold <sds@gnu.org>2014-12-18 15:23:15 -0500
commit0f765f454dd4278a529e247598a3da50f551cf0c (patch)
tree9bcec03a2575d029aa387d253ccdc0958141d24a /lisp/emacs-lisp
parent8f03888e7f2d86970abb638b6e6456610fed6067 (diff)
downloademacs-0f765f454dd4278a529e247598a3da50f551cf0c.tar.gz
emacs-0f765f454dd4278a529e247598a3da50f551cf0c.tar.bz2
emacs-0f765f454dd4278a529e247598a3da50f551cf0c.zip
Avoid a compilation warning
* lisp/emacs-lisp/package.el: Avoid a compilation warning by declaring the `find-library-name' function.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/package.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 11333ec3d78..c25c29a89cb 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -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