diff options
| author | Sam Steingold | 2014-12-18 15:23:15 -0500 |
|---|---|---|
| committer | Sam Steingold | 2014-12-18 15:23:15 -0500 |
| commit | 0f765f454dd4278a529e247598a3da50f551cf0c (patch) | |
| tree | 9bcec03a2575d029aa387d253ccdc0958141d24a | |
| parent | 8f03888e7f2d86970abb638b6e6456610fed6067 (diff) | |
| download | emacs-0f765f454dd4278a529e247598a3da50f551cf0c.tar.gz emacs-0f765f454dd4278a529e247598a3da50f551cf0c.zip | |
Avoid a compilation warning
* lisp/emacs-lisp/package.el: Avoid a compilation warning by declaring
the `find-library-name' function.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/package.el | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6027cd12bc2..d1d866b1d5e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-12-18 Sam Steingold <sds@gnu.org> | ||
| 2 | |||
| 3 | * emacs-lisp/package.el: Avoid compilation warning by declaring | ||
| 4 | the `find-library-name' function. | ||
| 5 | |||
| 1 | 2014-12-18 Martin Rudalics <rudalics@gmx.at> | 6 | 2014-12-18 Martin Rudalics <rudalics@gmx.at> |
| 2 | 7 | ||
| 3 | Add code for "preserving" window sizes. | 8 | Add code for "preserving" window sizes. |
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 | |||
| 559 | ;; Don't return nil. | 559 | ;; Don't return nil. |
| 560 | t)) | 560 | t)) |
| 561 | 561 | ||
| 562 | (declare-function find-library-name "find-func" (library)) | ||
| 562 | (defun package--list-loaded-files (dir) | 563 | (defun package--list-loaded-files (dir) |
| 563 | "Recursively list all files in DIR which correspond to loaded features. | 564 | "Recursively list all files in DIR which correspond to loaded features. |
| 564 | Returns the `file-name-sans-extension' of each file, relative to | 565 | Returns the `file-name-sans-extension' of each file, relative to |