mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-05 03:39:38 +00:00
Merge branch 'generalized-ensure' into defer-install
This commit is contained in:
commit
89a8f94672
1 changed files with 6 additions and 2 deletions
|
@ -185,8 +185,12 @@ Must be set before loading use-package."
|
||||||
|
|
||||||
(defcustom use-package-ensure-function 'use-package-ensure-elpa
|
(defcustom use-package-ensure-function 'use-package-ensure-elpa
|
||||||
"Function that ensures a package is installed.
|
"Function that ensures a package is installed.
|
||||||
This function is called with one argument, the package name as a
|
This function is called with three arguments: the name of the
|
||||||
symbol, by the `:ensure' keyword.
|
package declared in the `use-package' form; the argument passed
|
||||||
|
to `:ensure'; and the current `state' plist created by previous
|
||||||
|
handlers. Note that this function is called whenever `:ensure' is
|
||||||
|
provided, even if it is nil. It is up to the function to decide
|
||||||
|
on the semantics of the various values for `:ensure'.
|
||||||
|
|
||||||
The default value uses package.el to install the package."
|
The default value uses package.el to install the package."
|
||||||
:type '(choice (const :tag "package.el" use-package-ensure-elpa)
|
:type '(choice (const :tag "package.el" use-package-ensure-elpa)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue