Add note to def-package-hook! to use it only in init.el files
This commit is contained in:
parent
23fda88b2f
commit
a8906cc077
1 changed files with 2 additions and 0 deletions
|
@ -399,6 +399,8 @@ MODULES is an malformed plist of modules to load."
|
|||
(defmacro def-package-hook! (package when &rest body)
|
||||
"Reconfigures a package's `def-package!' block.
|
||||
|
||||
Only use this macro in a module's init.el file.
|
||||
|
||||
Under the hood, this uses use-package's `use-package-inject-hooks'.
|
||||
|
||||
PACKAGE is a symbol; the package's name.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue