1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-10 00:00:39 -08:00

Merge pull request from stribb/master

Add a line of documentation for (use-pacakage ... :hook).
GitHub-reference: https://github.com/jwiegley/use-package/issues/759
This commit is contained in:
John Wiegley 2019-04-05 13:47:24 -07:00 committed by GitHub
commit 3e36cbfb6d

View file

@ -1533,6 +1533,7 @@ this file. Usage:
package. This is useful if the package is being lazily package. This is useful if the package is being lazily
loaded, and you wish to conditionally call functions in your loaded, and you wish to conditionally call functions in your
`:init' block that are defined in the package. `:init' block that are defined in the package.
:hook Specify hook(s) to attach this package to.
:bind Bind keys, and define autoloads for the bound commands. :bind Bind keys, and define autoloads for the bound commands.
:bind* Bind keys, and define autoloads for the bound commands, :bind* Bind keys, and define autoloads for the bound commands,
@ -1542,7 +1543,7 @@ this file. Usage:
:bind-keymap* Like `:bind-keymap', but overrides all minor mode bindings :bind-keymap* Like `:bind-keymap', but overrides all minor mode bindings
:defer Defer loading of a package -- this is implied when using :defer Defer loading of a package -- this is implied when using
`:commands', `:bind', `:bind*', `:mode', `:magic', `:commands', `:bind', `:bind*', `:mode', `:magic', `:hook',
`:magic-fallback', or `:interpreter'. This can be an integer, `:magic-fallback', or `:interpreter'. This can be an integer,
to force loading after N seconds of idle time, if the package to force loading after N seconds of idle time, if the package
has not already been loaded. has not already been loaded.