]> git.eshelyaron.com Git - emacs.git/commit
Changes to the way auto-deferral is indicated
authorJohn Wiegley <johnw@newartisans.com>
Thu, 7 Dec 2017 21:14:32 +0000 (13:14 -0800)
committerJohn Wiegley <johnw@newartisans.com>
Thu, 7 Dec 2017 21:14:32 +0000 (13:14 -0800)
commit8fefa49d39dde99dfd13ff9551723ec387a3bfba
treedbe4b1a57074f732c64c316652d9505c01612be8
parent80e8a599b4392bbb45a6263c8e750db267b8e4e9
Changes to the way auto-deferral is indicated

This change adds a new extension hook `use-package-autoloads/<KEYWORD>` for
specifying exactly which autoloads a keyword should imply. This is the proper
way to indicate autoloads, rather than adding to the `:commands` entry as was
done before.

Further, autoloading now must occur in order to cause implied deferred
loading; if :bind is used with only lambda forms, for example, this will not
cause deferred loading without `:defer t`.
etc/USE-PACKAGE-NEWS
lisp/use-package/use-package-bind-key.el
lisp/use-package/use-package-core.el
test/lisp/use-package/use-package-tests.el