mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Merge from origin/emacs-29
5b640f0abdImprove :delight keyword example in use-package manualc417fe4df3; Refer to the manual in use-package docstring0b3116971aClarify :after keyword in use-package docstringa17a6036ddAdd conditional loading examples to use-package manual
This commit is contained in:
commit
3db9a0d040
2 changed files with 86 additions and 24 deletions
|
|
@ -1609,8 +1609,8 @@ no keyword implies `:all'."
|
|||
(defmacro use-package (name &rest args)
|
||||
"Declare an Emacs package by specifying a group of configuration options.
|
||||
|
||||
For full documentation, please see the README file that came with
|
||||
this file. Usage:
|
||||
For the full documentation, see Info node `(use-package) top'.
|
||||
Usage:
|
||||
|
||||
(use-package package-name
|
||||
[:keyword [option]]...)
|
||||
|
|
@ -1647,12 +1647,15 @@ 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 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).
|
||||
|
||||
:after Delay the effect of the use-package declaration
|
||||
until after the named libraries have loaded.
|
||||
Before they have been loaded, no other keyword
|
||||
has any effect at all, and once they have been
|
||||
loaded it is as if `:after' was not specified.
|
||||
|
||||
: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.
|
||||
:defines Declare certain variables to silence the byte-compiler.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue