1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

Remove finder.el require dependency in package.el

* emacs-lisp/package.el (package-keyword-button-action): Remove
finder.el require dependency.
This commit is contained in:
Ted Zlatanov 2013-12-09 19:54:38 -05:00
parent a81fc7ba93
commit 5a56578283
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
* emacs-lisp/package.el (package-keyword-button-action): Remove
finder.el require dependency.
2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
* emacs-lisp/package.el: Require finder.el.

View File

@ -7,7 +7,7 @@
;; Created: 10 Mar 2007
;; Version: 1.0.1
;; Keywords: tools
;; Package-Requires: ((tabulated-list "1.0") (finder))
;; Package-Requires: ((tabulated-list "1.0"))
;; This file is part of GNU Emacs.
@ -166,7 +166,6 @@
(eval-when-compile (require 'cl-lib))
(require 'tabulated-list)
(require 'finder)
(defgroup package nil
"Manager for Emacs Lisp packages."
@ -1510,6 +1509,7 @@ If optional arg NO-ACTIVATE is non-nil, don't activate packages."
(revert-buffer nil t)
(goto-char (point-min)))))
(declare-function finder-list-matches "finder" (keyword))
(defun package-keyword-button-action (button)
(let ((pkg-keyword (button-get button 'package-keyword)))
(finder-list-matches pkg-keyword)))