diff options
| author | Ted Zlatanov | 2013-12-09 19:54:38 -0500 |
|---|---|---|
| committer | Ted Zlatanov | 2013-12-09 19:54:38 -0500 |
| commit | 5a56578283b07d1f4676ab40f53c7aaa028f2ec8 (patch) | |
| tree | 92c246c4b1266304b8fa45908c5098bb12be7864 | |
| parent | a81fc7ba9329a21a449d4f1e81228ba26841f317 (diff) | |
| download | emacs-5a56578283b07d1f4676ab40f53c7aaa028f2ec8.tar.gz emacs-5a56578283b07d1f4676ab40f53c7aaa028f2ec8.zip | |
Remove finder.el require dependency in package.el
* emacs-lisp/package.el (package-keyword-button-action): Remove
finder.el require dependency.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/package.el | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4f294267d36..f61812f7e1a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com> | ||
| 2 | |||
| 3 | * emacs-lisp/package.el (package-keyword-button-action): Remove | ||
| 4 | finder.el require dependency. | ||
| 5 | |||
| 1 | 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com> | 6 | 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com> |
| 2 | 7 | ||
| 3 | * emacs-lisp/package.el: Require finder.el. | 8 | * emacs-lisp/package.el: Require finder.el. |
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 4c1d67643fd..f743ee4db9d 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | ;; Created: 10 Mar 2007 | 7 | ;; Created: 10 Mar 2007 |
| 8 | ;; Version: 1.0.1 | 8 | ;; Version: 1.0.1 |
| 9 | ;; Keywords: tools | 9 | ;; Keywords: tools |
| 10 | ;; Package-Requires: ((tabulated-list "1.0") (finder)) | 10 | ;; Package-Requires: ((tabulated-list "1.0")) |
| 11 | 11 | ||
| 12 | ;; This file is part of GNU Emacs. | 12 | ;; This file is part of GNU Emacs. |
| 13 | 13 | ||
| @@ -166,7 +166,6 @@ | |||
| 166 | (eval-when-compile (require 'cl-lib)) | 166 | (eval-when-compile (require 'cl-lib)) |
| 167 | 167 | ||
| 168 | (require 'tabulated-list) | 168 | (require 'tabulated-list) |
| 169 | (require 'finder) | ||
| 170 | 169 | ||
| 171 | (defgroup package nil | 170 | (defgroup package nil |
| 172 | "Manager for Emacs Lisp packages." | 171 | "Manager for Emacs Lisp packages." |
| @@ -1510,6 +1509,7 @@ If optional arg NO-ACTIVATE is non-nil, don't activate packages." | |||
| 1510 | (revert-buffer nil t) | 1509 | (revert-buffer nil t) |
| 1511 | (goto-char (point-min))))) | 1510 | (goto-char (point-min))))) |
| 1512 | 1511 | ||
| 1512 | (declare-function finder-list-matches "finder" (keyword)) | ||
| 1513 | (defun package-keyword-button-action (button) | 1513 | (defun package-keyword-button-action (button) |
| 1514 | (let ((pkg-keyword (button-get button 'package-keyword))) | 1514 | (let ((pkg-keyword (button-get button 'package-keyword))) |
| 1515 | (finder-list-matches pkg-keyword))) | 1515 | (finder-list-matches pkg-keyword))) |