From: Artur Malabarba Date: Tue, 7 Jul 2015 13:59:47 +0000 (+0100) Subject: * lisp/emacs-lisp/package.el (package-compute-transaction): Bug fix X-Git-Tag: emacs-25.0.90~1531 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1ffd9abcd729f5c446945e9390b282217a227460;p=emacs.git * lisp/emacs-lisp/package.el (package-compute-transaction): Bug fix Fix void variable due to `found-something' being in the wrong `let'. --- diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 35473334baf..c256923ca21 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -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)) - found-something) + (disabled (package-disabled-p next-pkg version))) (cond ((version-list-< version next-version) ;; pkg-descs is sorted by priority, not version, so