mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-06 12:19:37 +00:00
Move the use-package-keywords defcustom to the top of the file
This commit is contained in:
parent
22fb8f8c4b
commit
cdbb2cbe97
1 changed files with 47 additions and 47 deletions
|
@ -57,6 +57,53 @@
|
||||||
(defconst use-package-version "2.4"
|
(defconst use-package-version "2.4"
|
||||||
"This version of use-package.")
|
"This version of use-package.")
|
||||||
|
|
||||||
|
(defcustom use-package-keywords
|
||||||
|
'(:disabled
|
||||||
|
:pin
|
||||||
|
:ensure
|
||||||
|
:if :when :unless
|
||||||
|
:requires
|
||||||
|
:load-path
|
||||||
|
:no-require
|
||||||
|
:preface :defines :functions
|
||||||
|
:after
|
||||||
|
:custom
|
||||||
|
:custom-face
|
||||||
|
:init
|
||||||
|
:bind
|
||||||
|
:bind*
|
||||||
|
:bind-keymap
|
||||||
|
:bind-keymap*
|
||||||
|
:interpreter
|
||||||
|
:mode
|
||||||
|
:magic
|
||||||
|
:magic-fallback
|
||||||
|
:hook
|
||||||
|
;; Any other keyword that also declares commands to be autoloaded (such as
|
||||||
|
;; :bind) must appear before this keyword.
|
||||||
|
:commands
|
||||||
|
:defer
|
||||||
|
:demand
|
||||||
|
:load
|
||||||
|
;; This must occur almost last; the only forms which should appear after
|
||||||
|
;; are those that must happen directly after the config forms.
|
||||||
|
:config
|
||||||
|
:diminish
|
||||||
|
:delight)
|
||||||
|
"The set of valid keywords, in the order they are processed in.
|
||||||
|
The order of this list is *very important*, so it is only
|
||||||
|
advisable to insert new keywords, never to delete or reorder
|
||||||
|
them. Further, attention should be paid to the NEWS.md if the
|
||||||
|
default order ever changes, as they may have subtle effects on
|
||||||
|
the semantics of use-package declarations and may necessitate
|
||||||
|
changing where you had inserted a new keyword earlier.
|
||||||
|
|
||||||
|
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)
|
||||||
|
|
||||||
(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.
|
||||||
|
|
||||||
|
@ -170,53 +217,6 @@ had specified."
|
||||||
:type 'boolean
|
:type 'boolean
|
||||||
:group 'use-package)
|
:group 'use-package)
|
||||||
|
|
||||||
(defcustom use-package-keywords
|
|
||||||
'(:disabled
|
|
||||||
:pin
|
|
||||||
:ensure
|
|
||||||
:if :when :unless
|
|
||||||
:requires
|
|
||||||
:load-path
|
|
||||||
:no-require
|
|
||||||
:preface :defines :functions
|
|
||||||
:after
|
|
||||||
:custom
|
|
||||||
:custom-face
|
|
||||||
:init
|
|
||||||
:bind
|
|
||||||
:bind*
|
|
||||||
:bind-keymap
|
|
||||||
:bind-keymap*
|
|
||||||
:interpreter
|
|
||||||
:mode
|
|
||||||
:magic
|
|
||||||
:magic-fallback
|
|
||||||
:hook
|
|
||||||
;; Any other keyword that also declares commands to be autoloaded (such as
|
|
||||||
;; :bind) must appear before this keyword.
|
|
||||||
:commands
|
|
||||||
:defer
|
|
||||||
:demand
|
|
||||||
:load
|
|
||||||
;; This must occur almost last; the only forms which should appear after
|
|
||||||
;; are those that must happen directly after the config forms.
|
|
||||||
:config
|
|
||||||
:diminish
|
|
||||||
:delight)
|
|
||||||
"The set of valid keywords, in the order they are processed in.
|
|
||||||
The order of this list is *very important*, so it is only
|
|
||||||
advisable to insert new keywords, never to delete or reorder
|
|
||||||
them. Further, attention should be paid to the NEWS.md if the
|
|
||||||
default order ever changes, as they may have subtle effects on
|
|
||||||
the semantics of use-package declarations and may necessitate
|
|
||||||
changing where you had inserted a new keyword earlier.
|
|
||||||
|
|
||||||
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)
|
|
||||||
|
|
||||||
(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.
|
||||||
This disables:
|
This disables:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue