mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-05 03:39:38 +00:00
Add use-package-always-defer-install
See https://github.com/jwiegley/use-package/pull/433#issuecomment-289317875
This commit is contained in:
parent
bd2afa53c7
commit
bca84ee71a
1 changed files with 9 additions and 1 deletions
|
@ -85,13 +85,18 @@ The check is performed by looking for the module using `locate-library'."
|
||||||
:type 'boolean
|
:type 'boolean
|
||||||
:group 'use-package)
|
:group 'use-package)
|
||||||
|
|
||||||
|
(defcustom use-package-always-defer-install nil
|
||||||
|
"If non-nil, assume `:defer-install t` unless `:defer-install nil` is given."
|
||||||
|
:type 'boolean
|
||||||
|
:group 'use-package)
|
||||||
|
|
||||||
(defcustom use-package-always-ensure nil
|
(defcustom use-package-always-ensure nil
|
||||||
"Treat every package as though it had specified `:ensure SEXP`."
|
"Treat every package as though it had specified `:ensure SEXP`."
|
||||||
:type 'sexp
|
:type 'sexp
|
||||||
:group 'use-package)
|
:group 'use-package)
|
||||||
|
|
||||||
(defcustom use-package-always-pin nil
|
(defcustom use-package-always-pin nil
|
||||||
"Treat every package as though it had specified `:pin SYM."
|
"Treat every package as though it had specified `:pin SYM`."
|
||||||
:type 'symbol
|
:type 'symbol
|
||||||
:group 'use-package)
|
:group 'use-package)
|
||||||
|
|
||||||
|
@ -238,6 +243,9 @@ when the packages are actually requested."
|
||||||
(defcustom use-package-defaults
|
(defcustom use-package-defaults
|
||||||
'((:config '(t) t)
|
'((:config '(t) t)
|
||||||
(:ensure use-package-always-ensure use-package-always-ensure)
|
(:ensure use-package-always-ensure use-package-always-ensure)
|
||||||
|
(:defer-install
|
||||||
|
use-package-always-defer-install
|
||||||
|
use-package-always-defer-install)
|
||||||
(:pin use-package-always-pin use-package-always-pin))
|
(:pin use-package-always-pin use-package-always-pin))
|
||||||
"Alist of default values for `use-package' keywords.
|
"Alist of default values for `use-package' keywords.
|
||||||
Each entry in the alist is a list of three elements. The first
|
Each entry in the alist is a list of three elements. The first
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue