Next: When to use :preface, :config and :init?, Previous: :init is evaluated before loading package, Up: Using Lisp code for configuring packages [Contents][Index]
:config is evaluated after loading packageThe :config section is evaluated after the package has been
loaded. If the package is loaded immediately, this happens
immediately after that, but if loading is done lazily (see Loading Packages), this is deferred until after the package has been loaded.
In general, you should keep :init forms as simple and quick as
possible, and put as much as you can get away with into the
:config section. That way, deferred loading can help your
Emacs start as quickly as possible.