]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix oversight in package-load-list handling.
authorDaniel Hackney <dan@haxney.org>
Mon, 27 Feb 2012 01:57:50 +0000 (09:57 +0800)
committerChong Yidong <cyd@gnu.org>
Mon, 27 Feb 2012 01:57:50 +0000 (09:57 +0800)
* lisp/emacs-lisp/package.el (package-compute-transaction): Handle
holding a package version to t in package-load-list.

lisp/ChangeLog
lisp/emacs-lisp/package.el

index 76a7ccfe753f65092ad058e138e21993f017639e..57ae84c0fff8dc2c63e02ac5ac4e965e93f3fba3 100644 (file)
@@ -1,3 +1,8 @@
+2012-02-27  Daniel Hackney  <dan@haxney.org>  (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  <michael.albinus@gmx.de>
 
        * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
index d80454ba269caa53498136b7a881690eeb3a7d15..ff4fbe3ead484200c93d13e90e4c987f75756014 100644 (file)
@@ -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))