]> git.eshelyaron.com Git - emacs.git/commitdiff
up-ensure's customization variables are now in their own group
authorJohn Wiegley <johnw@newartisans.com>
Mon, 4 Dec 2017 07:36:52 +0000 (23:36 -0800)
committerJohn Wiegley <johnw@newartisans.com>
Mon, 4 Dec 2017 07:36:52 +0000 (23:36 -0800)
up-ensure.el

index 2e3d4ec411642986637e78b036e9a476cea0e3ac..fa19e1d5a8e0136341f3a9d940bbfaff8d501df9 100644 (file)
 
 (require 'up-core)
 
+(defgroup use-package-ensure nil
+  "Support for :ensure and :pin keywords in use-package declarations."
+  :group 'use-package)
+
 (eval-when-compile
   (declare-function package-installed-p "package")
   (declare-function package-read-all-archive-contents "package" ()))
   "Treat every package as though it had specified using `:ensure SEXP'.
 See also `use-package-defaults', which uses this value."
   :type 'sexp
-  :group 'use-package)
+  :group 'use-package-ensure)
 
 (defcustom use-package-always-pin nil
   "Treat every package as though it had specified using `:pin SYM'.
 See also `use-package-defaults', which uses this value."
   :type 'symbol
-  :group 'use-package)
+  :group 'use-package-ensure)
 
 (defcustom use-package-ensure-function 'use-package-ensure-elpa
   "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."
   :type '(choice (const :tag "package.el" use-package-ensure-elpa)
                  (function :tag "Custom"))
-  :group 'use-package)
+  :group 'use-package-ensure)
 
 ;;;; :pin