Load a package's generated autoloads file before byte compiling it.
commit292112ed3b196b6181010b0965a1df41d0cacf3a
authorChong Yidong <cyd@gnu.org>
Mon, 12 Mar 2012 03:03:16 +0000 (12 11:03 +0800)
committerChong Yidong <cyd@gnu.org>
Mon, 12 Mar 2012 03:03:16 +0000 (12 11:03 +0800)
treeb0544e40379a6f0e867d4bb85cfd742f183706bc
parent4098f8f73cf80eee975e9fc5c4b6fd3719e384ff
Load a package's generated autoloads file before byte compiling it.

* lisp/emacs-lisp/package.el (package-unpack, package-unpack-single):
Load generated autoloads file before byte compiling.
(package--make-autoloads-and-compile): New helper fun.

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