]> git.eshelyaron.com Git - emacs.git/commitdiff
Add a line of documentation for (use-pacakage ... :hook)
authorAndrew Stribblehill <stribb@gmail.com>
Thu, 4 Apr 2019 09:19:52 +0000 (11:19 +0200)
committerAndrew Stribblehill <stribb@gmail.com>
Thu, 4 Apr 2019 09:19:52 +0000 (11:19 +0200)
Copyright-paperwork-exempt: yes

lisp/use-package/use-package-core.el

index 7fc840f0a94cd4cf4dd70fc5c12e0aee1609628d..fec50fd4bb8d24e49d94cb4e6796f621ccfb97a7 100644 (file)
@@ -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.