mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-05 19:59:38 +00:00
up-ensure's customization variables are now in their own group
This commit is contained in:
parent
f4f3e01044
commit
49752db41b
1 changed files with 7 additions and 3 deletions
10
up-ensure.el
10
up-ensure.el
|
@ -35,6 +35,10 @@
|
||||||
|
|
||||||
(require 'up-core)
|
(require 'up-core)
|
||||||
|
|
||||||
|
(defgroup use-package-ensure nil
|
||||||
|
"Support for :ensure and :pin keywords in use-package declarations."
|
||||||
|
:group 'use-package)
|
||||||
|
|
||||||
(eval-when-compile
|
(eval-when-compile
|
||||||
(declare-function package-installed-p "package")
|
(declare-function package-installed-p "package")
|
||||||
(declare-function package-read-all-archive-contents "package" ()))
|
(declare-function package-read-all-archive-contents "package" ()))
|
||||||
|
@ -43,13 +47,13 @@
|
||||||
"Treat every package as though it had specified using `:ensure SEXP'.
|
"Treat every package as though it had specified using `:ensure SEXP'.
|
||||||
See also `use-package-defaults', which uses this value."
|
See also `use-package-defaults', which uses this value."
|
||||||
:type 'sexp
|
:type 'sexp
|
||||||
:group 'use-package)
|
:group 'use-package-ensure)
|
||||||
|
|
||||||
(defcustom use-package-always-pin nil
|
(defcustom use-package-always-pin nil
|
||||||
"Treat every package as though it had specified using `:pin SYM'.
|
"Treat every package as though it had specified using `:pin SYM'.
|
||||||
See also `use-package-defaults', which uses this value."
|
See also `use-package-defaults', which uses this value."
|
||||||
:type 'symbol
|
:type 'symbol
|
||||||
:group 'use-package)
|
:group 'use-package-ensure)
|
||||||
|
|
||||||
(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.
|
||||||
|
@ -67,7 +71,7 @@ This function should return non-nil if the package is installed.
|
||||||
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)
|
||||||
(function :tag "Custom"))
|
(function :tag "Custom"))
|
||||||
:group 'use-package)
|
:group 'use-package-ensure)
|
||||||
|
|
||||||
;;;; :pin
|
;;;; :pin
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue