diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2013-04-05 14:46:59 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2013-04-05 14:46:59 -0400 |
commit | 134abf1faef6596a62d3c04769e212b99f621d49 (patch) | |
tree | 4a8db28296d332179e05295932d3127f1dc6dbfc /lisp/emacs-lisp | |
parent | 7e268e9006c32eb1b1330aada4220e1a33859ad8 (diff) | |
download | emacs-134abf1faef6596a62d3c04769e212b99f621d49.tar.gz emacs-134abf1faef6596a62d3c04769e212b99f621d49.tar.bz2 emacs-134abf1faef6596a62d3c04769e212b99f621d49.zip |
* lisp/emacs-lisp/package.el (package-compute-transaction): Fix last fix.
Suggested by Donald Curtis <dcurtis@coe.edu>.
Fixes: debbugs:14082
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/package.el | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index d005c200d0c..605d1cf375c 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -809,12 +809,8 @@ but version %s required" "Need package `%s-%s', but only %s is available" (symbol-name next-pkg) (package-version-join next-version) (package-version-join (package-desc-vers (cdr pkg-desc))))) - ;; Only add to the transaction if we don't already have it. - (unless (memq next-pkg package-list) - (setq package-list - ;; Move to front, so it gets installed early enough - ;; (bug#14082). - (cons next-pkg (delq next-pkg package-list)))) + ;; Move to front, so it gets installed early enough (bug#14082). + (setq package-list (cons next-pkg (delq next-pkg package-list))) (setq package-list (package-compute-transaction package-list (package-desc-reqs |