diff options
| author | Artur Malabarba | 2015-02-03 11:36:10 +0000 |
|---|---|---|
| committer | Artur Malabarba | 2015-02-03 11:36:10 +0000 |
| commit | 2a4a94db1a42c297fc902eba3a2b99afdfc957bc (patch) | |
| tree | fa14843ef9fdf6153dce85c871de88ec8e1f42fe | |
| parent | 0ee15a20bc4f0039a32a095fea956f578ef8f002 (diff) | |
| download | emacs-2a4a94db1a42c297fc902eba3a2b99afdfc957bc.tar.gz emacs-2a4a94db1a42c297fc902eba3a2b99afdfc957bc.zip | |
emacs-lisp/package.el (package--get-deps): delete-dups when ONLY is nil.
| -rw-r--r-- | lisp/ChangeLog | 1 | ||||
| -rw-r--r-- | lisp/emacs-lisp/package.el | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d1c0256f024..61e05705c41 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | 2015-02-03 Artur Malabarba <bruce.connor.am@gmail.com> | 1 | 2015-02-03 Artur Malabarba <bruce.connor.am@gmail.com> |
| 2 | 2 | ||
| 3 | * emacs-lisp/package.el (package-delete): Document NOSAVE. | 3 | * emacs-lisp/package.el (package-delete): Document NOSAVE. |
| 4 | (package--get-deps): delete-dups when ONLY is nil. | ||
| 4 | 5 | ||
| 5 | 2015-02-03 Thierry Volpiatto <thierry.volpiatto@gmail.com> | 6 | 2015-02-03 Thierry Volpiatto <thierry.volpiatto@gmail.com> |
| 6 | 7 | ||
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 9a0c9829ddf..ade36d7c7d3 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el | |||
| @@ -1436,7 +1436,7 @@ The file can either be a tar file or an Emacs Lisp file." | |||
| 1436 | (direct direct-deps) | 1436 | (direct direct-deps) |
| 1437 | (separate (list direct-deps indirect-deps)) | 1437 | (separate (list direct-deps indirect-deps)) |
| 1438 | (indirect indirect-deps) | 1438 | (indirect indirect-deps) |
| 1439 | (t (append direct-deps indirect-deps))))) | 1439 | (t (delete-dups (append direct-deps indirect-deps)))))) |
| 1440 | 1440 | ||
| 1441 | ;;;###autoload | 1441 | ;;;###autoload |
| 1442 | (defun package-install-user-selected-packages () | 1442 | (defun package-install-user-selected-packages () |