Add missing :version tags in use-package
* lisp/use-package/use-package-core.el (use-package-keywords) (use-package-deferring-keywords, use-package-ignore-unknown-keywords) (use-package-use-theme, use-package-verbose) (use-package-check-before-init, use-package-always-defer) (use-package-always-demand, use-package-defaults) (use-package-merge-key-alist, use-package-hook-name-suffix) (use-package-minimum-reported-time, use-package-inject-hooks) (use-package-expand-minimally, use-package-form-regexp-eval) (use-package-enable-imenu-support, use-package-compute-statistics): * lisp/use-package/use-package-ensure.el (use-package-always-ensure) (use-package-always-pin, use-package-ensure-function): Add missing :version tags.
This commit is contained in:
parent
3f019167b8
commit
9d7151c0ff
2 changed files with 40 additions and 20 deletions
|
@ -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'
|
nothing at all to happen, even if the rest of the `use-package'
|
||||||
declaration is incorrect."
|
declaration is incorrect."
|
||||||
:type '(repeat symbol)
|
:type '(repeat symbol)
|
||||||
:group 'use-package)
|
:group 'use-package
|
||||||
|
:version "29.1")
|
||||||
|
|
||||||
(defcustom use-package-deferring-keywords
|
(defcustom use-package-deferring-keywords
|
||||||
'(:bind-keymap
|
'(: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
|
the default keywords provided here always defer loading unless
|
||||||
otherwise requested."
|
otherwise requested."
|
||||||
:type '(repeat symbol)
|
:type '(repeat symbol)
|
||||||
:group 'use-package)
|
:group 'use-package
|
||||||
|
:version "29.1")
|
||||||
|
|
||||||
(defcustom use-package-ignore-unknown-keywords nil
|
(defcustom use-package-ignore-unknown-keywords nil
|
||||||
"If non-nil, warn instead of signaling error for unknown keywords.
|
"If non-nil, warn instead of signaling error for unknown keywords.
|
||||||
The unknown keyword and its associated arguments will be ignored
|
The unknown keyword and its associated arguments will be ignored
|
||||||
in the `use-package' expansion."
|
in the `use-package' expansion."
|
||||||
:type 'boolean
|
:type 'boolean
|
||||||
:group 'use-package)
|
:group 'use-package
|
||||||
|
:version "29.1")
|
||||||
|
|
||||||
(defcustom use-package-use-theme t
|
(defcustom use-package-use-theme t
|
||||||
"If non-nil, use a custom theme to avoid saving :custom
|
"If non-nil, use a custom theme to avoid saving :custom
|
||||||
variables twice (once in the Custom file, once in the use-package
|
variables twice (once in the Custom file, once in the use-package
|
||||||
call)."
|
call)."
|
||||||
:type 'boolean
|
:type 'boolean
|
||||||
:group 'use-package)
|
:group 'use-package
|
||||||
|
:version "29.1")
|
||||||
|
|
||||||
(defcustom use-package-verbose nil
|
(defcustom use-package-verbose nil
|
||||||
"Whether to report about loading and configuration details.
|
"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 "Quiet" nil)
|
||||||
(const :tag "Verbose" t)
|
(const :tag "Verbose" t)
|
||||||
(const :tag "Debug" debug))
|
(const :tag "Debug" debug))
|
||||||
:group 'use-package)
|
:group 'use-package
|
||||||
|
:version "29.1")
|
||||||
|
|
||||||
(defcustom use-package-check-before-init nil
|
(defcustom use-package-check-before-init nil
|
||||||
"If non-nil, check that package exists before executing its `:init' block.
|
"If non-nil, check that package exists before executing its `:init' block.
|
||||||
This check is performed by calling `locate-library'."
|
This check is performed by calling `locate-library'."
|
||||||
:type 'boolean
|
:type 'boolean
|
||||||
:group 'use-package)
|
:group 'use-package
|
||||||
|
:version "29.1")
|
||||||
|
|
||||||
(defcustom use-package-always-defer nil
|
(defcustom use-package-always-defer nil
|
||||||
"If non-nil, assume `:defer t' unless `:demand' is used.
|
"If non-nil, assume `:defer t' unless `:demand' is used.
|
||||||
See also `use-package-defaults', which uses this value."
|
See also `use-package-defaults', which uses this value."
|
||||||
:type 'boolean
|
:type 'boolean
|
||||||
:group 'use-package)
|
:group 'use-package
|
||||||
|
:version "29.1")
|
||||||
|
|
||||||
(defcustom use-package-always-demand nil
|
(defcustom use-package-always-demand nil
|
||||||
"If non-nil, assume `:demand t' unless `:defer' is used.
|
"If non-nil, assume `:demand t' unless `:defer' is used.
|
||||||
See also `use-package-defaults', which uses this value."
|
See also `use-package-defaults', which uses this value."
|
||||||
:type 'boolean
|
:type 'boolean
|
||||||
:group 'use-package)
|
:group 'use-package
|
||||||
|
:version "29.1")
|
||||||
|
|
||||||
(defcustom use-package-defaults
|
(defcustom use-package-defaults
|
||||||
'(;; this '(t) has special meaning; see `use-package-handler/:config'
|
'(;; this '(t) has special meaning; see `use-package-handler/:config'
|
||||||
|
@ -214,7 +222,8 @@ attempted."
|
||||||
(list (symbol :tag "Keyword")
|
(list (symbol :tag "Keyword")
|
||||||
(choice :tag "Default value" sexp function)
|
(choice :tag "Default value" sexp function)
|
||||||
(choice :tag "Enable if non-nil" 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
|
(defcustom use-package-merge-key-alist
|
||||||
'((:if . (lambda (new old) `(and ,new ,old)))
|
'((:if . (lambda (new old) `(and ,new ,old)))
|
||||||
|
@ -238,21 +247,24 @@ handler is called only once."
|
||||||
use-package-keywords)
|
use-package-keywords)
|
||||||
(const :tag "Any" t))
|
(const :tag "Any" t))
|
||||||
function))
|
function))
|
||||||
:group 'use-package)
|
:group 'use-package
|
||||||
|
:version "29.1")
|
||||||
|
|
||||||
(defcustom use-package-hook-name-suffix "-hook"
|
(defcustom use-package-hook-name-suffix "-hook"
|
||||||
"Text append to the name of hooks mentioned by :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
|
Set to nil if you don't want this to happen; it's only a
|
||||||
convenience."
|
convenience."
|
||||||
:type '(choice string (const :tag "No suffix" nil))
|
: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
|
(defcustom use-package-minimum-reported-time 0.1
|
||||||
"Minimal load time that will be reported.
|
"Minimal load time that will be reported.
|
||||||
Note that `use-package-verbose' has to be set to a non-nil value
|
Note that `use-package-verbose' has to be set to a non-nil value
|
||||||
for anything to be reported at all."
|
for anything to be reported at all."
|
||||||
:type 'number
|
:type 'number
|
||||||
:group 'use-package)
|
:group 'use-package
|
||||||
|
:version "29.1")
|
||||||
|
|
||||||
(defcustom use-package-inject-hooks nil
|
(defcustom use-package-inject-hooks nil
|
||||||
"If non-nil, add hooks to the `:init' and `:config' sections.
|
"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
|
return t if you only wish to add behavior to what the user had
|
||||||
specified."
|
specified."
|
||||||
:type 'boolean
|
:type 'boolean
|
||||||
:group 'use-package)
|
:group 'use-package
|
||||||
|
:version "29.1")
|
||||||
|
|
||||||
(defcustom use-package-expand-minimally nil
|
(defcustom use-package-expand-minimally nil
|
||||||
"If non-nil, make the expanded code as minimal as possible.
|
"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
|
minimal as possible. It can also help with reading macro-expanded
|
||||||
definitions, to understand the main intent of what's happening."
|
definitions, to understand the main intent of what's happening."
|
||||||
:type 'boolean
|
:type 'boolean
|
||||||
:group 'use-package)
|
:group 'use-package
|
||||||
|
:version "29.1")
|
||||||
|
|
||||||
(defcustom use-package-form-regexp-eval
|
(defcustom use-package-form-regexp-eval
|
||||||
`(concat ,(eval-when-compile
|
`(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
|
This is used by `use-package-jump-to-package-form' and
|
||||||
`use-package-enable-imenu-support'."
|
`use-package-enable-imenu-support'."
|
||||||
:type 'sexp
|
:type 'sexp
|
||||||
:group 'use-package)
|
:group 'use-package
|
||||||
|
:version "29.1")
|
||||||
|
|
||||||
(defcustom use-package-enable-imenu-support nil
|
(defcustom use-package-enable-imenu-support nil
|
||||||
"If non-nil, cause imenu to see `use-package' declarations.
|
"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)
|
(remove (list "Packages" ,use-package-form-regexp-eval 2)
|
||||||
lisp-imenu-generic-expression))))
|
lisp-imenu-generic-expression))))
|
||||||
(set-default sym value))
|
(set-default sym value))
|
||||||
:group 'use-package)
|
:group 'use-package
|
||||||
|
:version "29.1")
|
||||||
|
|
||||||
;; Redundant in Emacs 26 or later, which already highlights macro names.
|
;; Redundant in Emacs 26 or later, which already highlights macro names.
|
||||||
(defconst use-package-font-lock-keywords
|
(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
|
user init file at loadup time, or you will see errors concerning
|
||||||
undefined variables."
|
undefined variables."
|
||||||
:type 'boolean
|
:type 'boolean
|
||||||
:group 'use-package)
|
:group 'use-package
|
||||||
|
:version "29.1")
|
||||||
|
|
||||||
(defcustom use-package-vc-prefer-newest nil
|
(defcustom use-package-vc-prefer-newest nil
|
||||||
"Prefer the newest commit over the latest release.
|
"Prefer the newest commit over the latest release.
|
||||||
|
|
|
@ -46,13 +46,15 @@
|
||||||
"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-ensure)
|
:group 'use-package-ensure
|
||||||
|
:version "29.1")
|
||||||
|
|
||||||
(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-ensure)
|
:group 'use-package-ensure
|
||||||
|
:version "29.1")
|
||||||
|
|
||||||
(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.
|
||||||
|
@ -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."
|
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-ensure)
|
:group 'use-package-ensure
|
||||||
|
:version "29.1")
|
||||||
|
|
||||||
;;;; :pin
|
;;;; :pin
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue