diff options
| author | John Wiegley | 2019-04-05 13:47:24 -0700 |
|---|---|---|
| committer | GitHub | 2019-04-05 13:47:24 -0700 |
| commit | 3e36cbfb6dcd9e9acccc64947321c3cc82f17731 (patch) | |
| tree | 1ceffb3d393206bae047c2230b9be638ef581820 | |
| parent | 7e40a9c42409d2a05036ae6bdefb6e56b3668d8e (diff) | |
| parent | 95f24f962896eea34b5b8cb23a9ca7c9254dd5eb (diff) | |
| download | emacs-3e36cbfb6dcd9e9acccc64947321c3cc82f17731.tar.gz emacs-3e36cbfb6dcd9e9acccc64947321c3cc82f17731.zip | |
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
| -rw-r--r-- | lisp/use-package/use-package-core.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/use-package/use-package-core.el b/lisp/use-package/use-package-core.el index 7fc840f0a94..fec50fd4bb8 100644 --- a/lisp/use-package/use-package-core.el +++ b/lisp/use-package/use-package-core.el | |||
| @@ -1533,6 +1533,7 @@ this file. Usage: | |||
| 1533 | package. This is useful if the package is being lazily | 1533 | package. This is useful if the package is being lazily |
| 1534 | loaded, and you wish to conditionally call functions in your | 1534 | loaded, and you wish to conditionally call functions in your |
| 1535 | `:init' block that are defined in the package. | 1535 | `:init' block that are defined in the package. |
| 1536 | :hook Specify hook(s) to attach this package to. | ||
| 1536 | 1537 | ||
| 1537 | :bind Bind keys, and define autoloads for the bound commands. | 1538 | :bind Bind keys, and define autoloads for the bound commands. |
| 1538 | :bind* Bind keys, and define autoloads for the bound commands, | 1539 | :bind* Bind keys, and define autoloads for the bound commands, |
| @@ -1542,7 +1543,7 @@ this file. Usage: | |||
| 1542 | :bind-keymap* Like `:bind-keymap', but overrides all minor mode bindings | 1543 | :bind-keymap* Like `:bind-keymap', but overrides all minor mode bindings |
| 1543 | 1544 | ||
| 1544 | :defer Defer loading of a package -- this is implied when using | 1545 | :defer Defer loading of a package -- this is implied when using |
| 1545 | `:commands', `:bind', `:bind*', `:mode', `:magic', | 1546 | `:commands', `:bind', `:bind*', `:mode', `:magic', `:hook', |
| 1546 | `:magic-fallback', or `:interpreter'. This can be an integer, | 1547 | `:magic-fallback', or `:interpreter'. This can be an integer, |
| 1547 | to force loading after N seconds of idle time, if the package | 1548 | to force loading after N seconds of idle time, if the package |
| 1548 | has not already been loaded. | 1549 | has not already been loaded. |