]> git.eshelyaron.com Git - emacs.git/commit
Fix package.el dependency handling so that `require' calls work.
authorChong Yidong <cyd@gnu.org>
Sat, 28 Jan 2012 08:14:24 +0000 (16:14 +0800)
committerChong Yidong <cyd@gnu.org>
Sat, 28 Jan 2012 08:14:24 +0000 (16:14 +0800)
commit0ce8e868b9c704f5f8630e0b8df5550ecadb0e95
tree9f937765bd9c6746a5b02c06a5d26a5b7a589159
parentf823b8caacfc66957b5936fae989bd609d557a47
Fix package.el dependency handling so that `require' calls work.

* lisp/emacs-lisp/package.el (package-maybe-load-descriptor): New
function, split from package-maybe-load-descriptor.
(package-maybe-load-descriptor): Use it.
(package-download-transaction): Fully load required packages
inside the loop, so that `require' calls work.
(package-install): No need to call package-initialize now.

Fixes: debbugs:10593
lisp/ChangeLog
lisp/emacs-lisp/package.el