From 0f765f454dd4278a529e247598a3da50f551cf0c Mon Sep 17 00:00:00 2001 From: Sam Steingold Date: Thu, 18 Dec 2014 15:23:15 -0500 Subject: [PATCH] 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(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6027cd12bc2..d1d866b1d5e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2014-12-18 Sam Steingold + + * emacs-lisp/package.el: Avoid compilation warning by declaring + the `find-library-name' function. + 2014-12-18 Martin Rudalics 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 ;; 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 -- 2.39.2