From 2a4a94db1a42c297fc902eba3a2b99afdfc957bc Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Tue, 3 Feb 2015 11:36:10 +0000 Subject: [PATCH] emacs-lisp/package.el (package--get-deps): delete-dups when ONLY is nil. --- lisp/ChangeLog | 1 + lisp/emacs-lisp/package.el | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d1c0256f024..61e05705c41 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,6 +1,7 @@ 2015-02-03 Artur Malabarba * emacs-lisp/package.el (package-delete): Document NOSAVE. + (package--get-deps): delete-dups when ONLY is nil. 2015-02-03 Thierry Volpiatto 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." (direct direct-deps) (separate (list direct-deps indirect-deps)) (indirect indirect-deps) - (t (append direct-deps indirect-deps))))) + (t (delete-dups (append direct-deps indirect-deps)))))) ;;;###autoload (defun package-install-user-selected-packages () -- 2.39.2