diff options
Diffstat (limited to 'lisp/use-package')
-rw-r--r-- | lisp/use-package/use-package-core.el | 51 | ||||
-rw-r--r-- | lisp/use-package/use-package-ensure.el | 9 |
2 files changed, 40 insertions, 20 deletions
diff --git a/lisp/use-package/use-package-core.el b/lisp/use-package/use-package-core.el index 8c3241d5ee0..7148c334126 100644 --- a/lisp/use-package/use-package-core.el +++ b/lisp/use-package/use-package-core.el @@ -114,7 +114,8 @@ Note that `:disabled' is special in this list, as it causes nothing at all to happen, even if the rest of the `use-package' declaration is incorrect." :type '(repeat symbol) - :group 'use-package) + :group 'use-package + :version "29.1") (defcustom use-package-deferring-keywords '(:bind-keymap @@ -128,21 +129,24 @@ function symbols that can be autoloaded from the module; whereas the default keywords provided here always defer loading unless otherwise requested." :type '(repeat symbol) - :group 'use-package) + :group 'use-package + :version "29.1") (defcustom use-package-ignore-unknown-keywords nil "If non-nil, warn instead of signaling error for unknown keywords. The unknown keyword and its associated arguments will be ignored in the `use-package' expansion." :type 'boolean - :group 'use-package) + :group 'use-package + :version "29.1") (defcustom use-package-use-theme t "If non-nil, use a custom theme to avoid saving :custom variables twice (once in the Custom file, once in the use-package call)." :type 'boolean - :group 'use-package) + :group 'use-package + :version "29.1") (defcustom use-package-verbose nil "Whether to report about loading and configuration details. @@ -154,25 +158,29 @@ then the expanded macros do their job silently." (const :tag "Quiet" nil) (const :tag "Verbose" t) (const :tag "Debug" debug)) - :group 'use-package) + :group 'use-package + :version "29.1") (defcustom use-package-check-before-init nil "If non-nil, check that package exists before executing its `:init' block. This check is performed by calling `locate-library'." :type 'boolean - :group 'use-package) + :group 'use-package + :version "29.1") (defcustom use-package-always-defer nil "If non-nil, assume `:defer t' unless `:demand' is used. See also `use-package-defaults', which uses this value." :type 'boolean - :group 'use-package) + :group 'use-package + :version "29.1") (defcustom use-package-always-demand nil "If non-nil, assume `:demand t' unless `:defer' is used. See also `use-package-defaults', which uses this value." :type 'boolean - :group 'use-package) + :group 'use-package + :version "29.1") (defcustom use-package-defaults '(;; this '(t) has special meaning; see `use-package-handler/:config' @@ -214,7 +222,8 @@ attempted." (list (symbol :tag "Keyword") (choice :tag "Default value" sexp function) (choice :tag "Enable if non-nil" sexp function))) - :group 'use-package) + :group 'use-package + :version "29.1") (defcustom use-package-merge-key-alist '((:if . (lambda (new old) `(and ,new ,old))) @@ -238,21 +247,24 @@ handler is called only once." use-package-keywords) (const :tag "Any" t)) function)) - :group 'use-package) + :group 'use-package + :version "29.1") (defcustom use-package-hook-name-suffix "-hook" "Text append to the name of hooks mentioned by :hook. Set to nil if you don't want this to happen; it's only a convenience." :type '(choice string (const :tag "No suffix" nil)) - :group 'use-package) + :group 'use-package + :version "29.1") (defcustom use-package-minimum-reported-time 0.1 "Minimal load time that will be reported. Note that `use-package-verbose' has to be set to a non-nil value for anything to be reported at all." :type 'number - :group 'use-package) + :group 'use-package + :version "29.1") (defcustom use-package-inject-hooks nil "If non-nil, add hooks to the `:init' and `:config' sections. @@ -278,7 +290,8 @@ user-supplied configuration is not evaluated, so be certain to return t if you only wish to add behavior to what the user had specified." :type 'boolean - :group 'use-package) + :group 'use-package + :version "29.1") (defcustom use-package-expand-minimally nil "If non-nil, make the expanded code as minimal as possible. @@ -293,7 +306,8 @@ configuration works, it will make the byte-compiled file as minimal as possible. It can also help with reading macro-expanded definitions, to understand the main intent of what's happening." :type 'boolean - :group 'use-package) + :group 'use-package + :version "29.1") (defcustom use-package-form-regexp-eval `(concat ,(eval-when-compile @@ -306,7 +320,8 @@ definitions, to understand the main intent of what's happening." This is used by `use-package-jump-to-package-form' and `use-package-enable-imenu-support'." :type 'sexp - :group 'use-package) + :group 'use-package + :version "29.1") (defcustom use-package-enable-imenu-support nil "If non-nil, cause imenu to see `use-package' declarations. @@ -325,7 +340,8 @@ Must be set before loading `use-package'." (remove (list "Packages" ,use-package-form-regexp-eval 2) lisp-imenu-generic-expression)))) (set-default sym value)) - :group 'use-package) + :group 'use-package + :version "29.1") ;; Redundant in Emacs 26 or later, which already highlights macro names. (defconst use-package-font-lock-keywords @@ -344,7 +360,8 @@ if this option is enabled, you must require `use-package' in your user init file at loadup time, or you will see errors concerning undefined variables." :type 'boolean - :group 'use-package) + :group 'use-package + :version "29.1") (defcustom use-package-vc-prefer-newest nil "Prefer the newest commit over the latest release. diff --git a/lisp/use-package/use-package-ensure.el b/lisp/use-package/use-package-ensure.el index 5f75b6b59ea..817c62276ad 100644 --- a/lisp/use-package/use-package-ensure.el +++ b/lisp/use-package/use-package-ensure.el @@ -46,13 +46,15 @@ "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-ensure) + :group 'use-package-ensure + :version "29.1") (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-ensure) + :group 'use-package-ensure + :version "29.1") (defcustom use-package-ensure-function 'use-package-ensure-elpa "Function that ensures a package is installed. @@ -70,7 +72,8 @@ 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-ensure) + :group 'use-package-ensure + :version "29.1") ;;;; :pin |