diff options
author | Radon Rosborough <radon.neon@gmail.com> | 2017-03-26 14:40:17 -0700 |
---|---|---|
committer | Radon Rosborough <radon.neon@gmail.com> | 2017-03-26 14:40:17 -0700 |
commit | bca84ee71ab707e5452cb89c8148541a31619741 (patch) | |
tree | 4dc1cfc2e28979419feb2644352a032b0b65b1ce /lisp/use-package/use-package.el | |
parent | bd2afa53c7580d23ed8008267b80e1834b6e6600 (diff) | |
download | emacs-bca84ee71ab707e5452cb89c8148541a31619741.tar.gz emacs-bca84ee71ab707e5452cb89c8148541a31619741.tar.bz2 emacs-bca84ee71ab707e5452cb89c8148541a31619741.zip |
Add use-package-always-defer-install
See https://github.com/jwiegley/use-package/pull/433#issuecomment-289317875
Diffstat (limited to 'lisp/use-package/use-package.el')
-rw-r--r-- | lisp/use-package/use-package.el | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el index 2943dafe6b0..56e1e342d0a 100644 --- a/lisp/use-package/use-package.el +++ b/lisp/use-package/use-package.el @@ -85,13 +85,18 @@ The check is performed by looking for the module using `locate-library'." :type 'boolean :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 "Treat every package as though it had specified `:ensure SEXP`." :type 'sexp :group 'use-package) (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 :group 'use-package) @@ -238,6 +243,9 @@ when the packages are actually requested." (defcustom use-package-defaults '((:config '(t) t) (: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)) "Alist of default values for `use-package' keywords. Each entry in the alist is a list of three elements. The first |