mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Add note to def-package-hook! to use it only in init.el files
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user