Commit 1ffd9abc authored by Artur Malabarba's avatar Artur Malabarba

* lisp/emacs-lisp/package.el (package-compute-transaction): Bug fix

Fix void variable due to `found-something' being in the wrong `let'.
parent 6aa1d763
......@@ -1572,12 +1572,12 @@ SEEN is used internally to detect infinite recursion."
;; blocked via `package-load-list'.
(let ((pkg-descs (cdr (assq next-pkg package-archive-contents)))
(found nil)
(found-something nil)
(problem nil))
(while (and pkg-descs (not found))
(let* ((pkg-desc (pop pkg-descs))
(version (package-desc-version pkg-desc))
(disabled (package-disabled-p next-pkg version))
(disabled (package-disabled-p next-pkg version)))
((version-list-< version next-version)
;; pkg-descs is sorted by priority, not version, so
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment