diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2019-02-25 16:07:27 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2019-02-25 16:07:27 +0100 |
| commit | 0b5fa06155a9664a1076b8d3513cdb4340939f6a (patch) | |
| tree | 8c872301e79b16c4bd7d7198b8ce62498b81f5f4 /lisp/magit-core.el | |
| parent | c180c6e184d3eb6820ea7adbf7fb15cdbecfde39 (diff) | |
Ensure all magit libraries are at least autoloaded
The optimal load/compile order is defined in "lisp/Makefile".
In lisp this is split across four places:
1. Libraries that are required by many other libraries are loaded
in "magit-code.el".
2. Libraries that have to be loaded for "magit.el" are defined at
the beginning of that file.
3. Other libraries that have to be loaded up-front (but may depend
on "magit.el" being loaded) are loaded at the end of "magit.el".
4. Right after that an attempt is made to load "magit-autoload.el".
5. If that generated library cannot be found, then all remaining
libraries are loaded up-front. Autoloading them would be
preferable, but since we cannot do that we have to load them
to avoid all kinds of issues.
All libraries have to be loaded in one of these places. Within
each place the libraries should be loaded in the same order as
in "lisp/Makefile".
This commit adds `require' forms for `magit-transient', `magit-wip',
and `magit-patch' and additionally fixes inconsistent ordering.
It is quite likely that a few libraries from (3) could be moved to
(5), but that is another issue.
Diffstat (limited to 'lisp/magit-core.el')
| -rw-r--r-- | lisp/magit-core.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/magit-core.el b/lisp/magit-core.el index f9bf336..127b9b5 100644 --- a/lisp/magit-core.el +++ b/lisp/magit-core.el @@ -36,6 +36,7 @@ (require 'magit-mode) (require 'magit-margin) (require 'magit-process) +(require 'magit-transient) (require 'magit-autorevert) (defgroup magit nil |
