[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 0f765f4 1/2: Avoid a compilation warning
From: |
Sam Steingold |
Subject: |
[Emacs-diffs] master 0f765f4 1/2: Avoid a compilation warning |
Date: |
Thu, 18 Dec 2014 20:24:48 +0000 |
branch: master
commit 0f765f454dd4278a529e247598a3da50f551cf0c
Author: Sam Steingold <address@hidden>
Commit: Sam Steingold <address@hidden>
Avoid a compilation warning
* lisp/emacs-lisp/package.el: Avoid a compilation warning by declaring
the `find-library-name' function.
---
lisp/ChangeLog | 5 +++++
lisp/emacs-lisp/package.el | 1 +
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6027cd1..d1d866b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-18 Sam Steingold <address@hidden>
+
+ * emacs-lisp/package.el: Avoid compilation warning by declaring
+ the `find-library-name' function.
+
2014-12-18 Martin Rudalics <address@hidden>
Add code for "preserving" window sizes.
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 11333ec..c25c29a 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