]> code.delx.au - gnu-emacs/commit
* lisp/emacs-lisp/package.el (package-unpack): Load before compiling
authorArtur Malabarba <bruce.connor.am@gmail.com>
Thu, 3 Dec 2015 15:24:51 +0000 (15:24 +0000)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Thu, 3 Dec 2015 16:13:57 +0000 (16:13 +0000)
commit50dce3c4225384cc3705bee4f8e55939f0885f73
treed8cc4053a89e803b3ff6e6b8f0694abb019c1f06
parent67c6906a5f2e79ef771a1d7c8abeb29eb633c659
* lisp/emacs-lisp/package.el (package-unpack): Load before compiling

Reload any previously loaded package files before compiling
the package (also reload the same files after compiling).
This ensures that we have the most recent definitions during
compilation, and avoids generating bad elc files when a macro
changes and it is used in a different file from the one it's
defined in.
lisp/emacs-lisp/package.el
test/automated/data/package/macro-problem-package-1.0/macro-aux.el [new file with mode: 0644]
test/automated/data/package/macro-problem-package-1.0/macro-problem.el [new file with mode: 0644]
test/automated/data/package/macro-problem-package-2.0/macro-aux.el [new file with mode: 0644]
test/automated/data/package/macro-problem-package-2.0/macro-problem.el [new file with mode: 0644]
test/automated/package-test.el