From: Daniel Hackney Date: Mon, 27 Feb 2012 01:57:50 +0000 (+0800) Subject: Fix oversight in package-load-list handling. X-Git-Tag: emacs-pretest-24.0.94~2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8ac9e52930219a1621e59aafcf7b30d97c325702;p=emacs.git Fix oversight in package-load-list handling. * lisp/emacs-lisp/package.el (package-compute-transaction): Handle holding a package version to t in package-load-list. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 76a7ccfe753..57ae84c0fff 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2012-02-27 Daniel Hackney (tiny change) + + * emacs-lisp/package.el (package-compute-transaction): Handle + holding a package version to t in package-load-list. + 2012-02-26 Michael Albinus * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0. diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index d80454ba269..ff4fbe3ead4 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -750,7 +750,8 @@ not included in this list." hold) (when (setq hold (assq next-pkg package-load-list)) (setq hold (cadr hold)) - (cond ((eq hold nil) + (cond ((eq hold t)) + ((eq hold nil) (error "Required package '%s' is disabled" (symbol-name next-pkg))) ((null (stringp hold))