summaryrefslogtreecommitdiff
path: root/lisp/use-package/use-package-core.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2020-03-22 14:10:31 -0700
committerGitHub <noreply@github.com>2020-03-22 14:10:31 -0700
commit91e5d275af4087f954ac0af75326eb269b984655 (patch)
tree1d7ac7d3394c79bdf09162dd127c742ddadc4af2 /lisp/use-package/use-package-core.el
parent8e81459dad37e150069acfa955097304e21a3fdd (diff)
parent8b8522650e8ebf54b13be6dad37320e166e4e75f (diff)
downloademacs-91e5d275af4087f954ac0af75326eb269b984655.tar.gz
emacs-91e5d275af4087f954ac0af75326eb269b984655.tar.bz2
emacs-91e5d275af4087f954ac0af75326eb269b984655.zip
Merge pull request from jwiegley/johnw/clarify
Clarify the documentation for :after GitHub-reference: https://github.com/jwiegley/use-package/issues/820
Diffstat (limited to 'lisp/use-package/use-package-core.el')
-rw-r--r--lisp/use-package/use-package-core.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/use-package/use-package-core.el b/lisp/use-package/use-package-core.el
index 83b9b291345..c18877d5e66 100644
--- a/lisp/use-package/use-package-core.el
+++ b/lisp/use-package/use-package-core.el
@@ -1548,9 +1548,11 @@ this file. Usage:
`: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.
-:after Defer loading of a package until after any of the named
- features are loaded.
-:demand Prevent deferred loading in all cases.
+:after Delay the use-package declaration until after the named modules
+ have loaded. Once load, it will be as though the use-package
+ declaration (without `:after') had been seen at that moment.
+:demand Prevent the automatic deferred loading introduced by constructs
+ such as `:bind' (see `:defer' for the complete list).
:if EXPR Initialize and load only if EXPR evaluates to a non-nil value.
:disabled The package is ignored completely if this keyword is present.