diff options
author | Andrew Stribblehill <stribb@gmail.com> | 2019-04-04 11:19:52 +0200 |
---|---|---|
committer | Andrew Stribblehill <stribb@gmail.com> | 2019-04-04 11:19:52 +0200 |
commit | 95f24f962896eea34b5b8cb23a9ca7c9254dd5eb (patch) | |
tree | 1ceffb3d393206bae047c2230b9be638ef581820 /lisp/use-package | |
parent | 7e40a9c42409d2a05036ae6bdefb6e56b3668d8e (diff) | |
download | emacs-95f24f962896eea34b5b8cb23a9ca7c9254dd5eb.tar.gz emacs-95f24f962896eea34b5b8cb23a9ca7c9254dd5eb.tar.bz2 emacs-95f24f962896eea34b5b8cb23a9ca7c9254dd5eb.zip |
Add a line of documentation for (use-pacakage ... :hook)
Copyright-paperwork-exempt: yes
Diffstat (limited to 'lisp/use-package')
-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: package. This is useful if the package is being lazily loaded, and you wish to conditionally call functions in your `: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, @@ -1542,7 +1543,7 @@ this file. Usage: :bind-keymap* Like `:bind-keymap', but overrides all minor mode bindings :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, to force loading after N seconds of idle time, if the package has not already been loaded. |