Initialize all user options using custom-initialize-default

This commit is contained in:
Philip Kaludercic 2021-05-25 12:35:30 +02:00
parent aa54120f9a
commit 97065bcb88

View file

@ -1584,6 +1584,7 @@ For form, see `modus-themes-operandi-colors'."
:version "28.1"
:type '(alist :key-type symbol :value-type color)
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Override colors (DIY)"))
(defcustom modus-themes-vivendi-color-overrides nil
@ -1595,6 +1596,7 @@ For form, see `modus-themes-vivendi-colors'."
:version "28.1"
:type '(alist :key-type symbol :value-type color)
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Override colors (DIY)"))
;; The byte compiler complains when a defcustom isn't a top level form
@ -1614,6 +1616,7 @@ For form, see `modus-themes-vivendi-colors'."
:version "28.1"
:type 'boolean
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Slanted constructs"))
(defcustom modus-themes-bold-constructs nil
@ -1623,6 +1626,7 @@ For form, see `modus-themes-vivendi-colors'."
:version "28.1"
:type 'boolean
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Bold constructs"))
(defcustom modus-themes-variable-pitch-headings nil
@ -1632,6 +1636,7 @@ For form, see `modus-themes-vivendi-colors'."
:version "28.1"
:type 'boolean
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Headings' typeface"))
(defcustom modus-themes-variable-pitch-ui nil
@ -1642,6 +1647,7 @@ This includes the mode line, header line, tab bar, and tab line."
:version "28.1"
:type 'boolean
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) UI typeface"))
(defcustom modus-themes-no-mixed-fonts nil
@ -1660,6 +1666,7 @@ mixing fonts."
:version "28.1"
:type 'boolean
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) No mixed fonts"))
(defconst modus-themes--headings-choice
@ -1772,6 +1779,7 @@ A description of all other possible values:
:key-type symbol
:value-type ,modus-themes--headings-choice)
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Heading styles"))
(defcustom modus-themes-scale-headings nil
@ -1793,6 +1801,7 @@ special heading."
:version "28.1"
:type 'boolean
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Scaled headings"))
(defcustom modus-themes-scale-1 1.05
@ -1816,6 +1825,7 @@ accordance with it in cases where it changes, such as while using
:version "28.1"
:type 'number
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Scaled heading sizes"))
(defcustom modus-themes-scale-2 1.1
@ -1839,6 +1849,7 @@ accordance with it in cases where it changes, such as while using
:version "28.1"
:type 'number
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Scaled heading sizes"))
(defcustom modus-themes-scale-3 1.15
@ -1862,6 +1873,7 @@ accordance with it in cases where it changes, such as while using
:version "28.1"
:type 'number
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Scaled heading sizes"))
(defcustom modus-themes-scale-4 1.2
@ -1885,6 +1897,7 @@ accordance with it in cases where it changes, such as while using
:version "28.1"
:type 'number
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Scaled heading sizes"))
(defcustom modus-themes-scale-5 1.3
@ -1909,6 +1922,7 @@ accordance with it in cases where it changes, such as while using
:version "28.1"
:type 'number
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Scaled heading sizes"))
(defcustom modus-themes-fringes nil
@ -1926,6 +1940,7 @@ pronounced grayscale value."
(const :format "[%v] %t\n" :tag "Subtle grayscale background" subtle)
(const :format "[%v] %t\n" :tag "Intense grayscale background" intense))
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Fringes"))
(defcustom modus-themes-lang-checkers nil
@ -1961,6 +1976,7 @@ most intense combination of face properties."
(const :format "[%v] %t\n" :tag "Combines `straight-underline' and `intense-foreground'" intense-foreground-straight-underline)
(const :format "[%v] %t\n" :tag "Color-coded background, foreground, straight underline" colored-background))
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Language checkers"))
(defcustom modus-themes-org-blocks nil
@ -2004,6 +2020,7 @@ respectively."
(const :format "[%v] %t\n" :tag "Color-coded background per programming language" tinted-background)
(const :format "[%v] %t\n" :tag "Alias for `tinted-background'" rainbow)) ; back compat
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Org mode blocks"))
(defcustom modus-themes-org-habit nil
@ -2043,6 +2060,7 @@ highlights the alert and overdue states."
(const :format "[%v] %t\n" :tag "Like the default, but do not distinguish between present and future variants" simplified)
(const :format "[%v] %t\n" :tag "Like `simplified', but only use red, yellow, green" traffic-light))
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Org agenda habits"))
(defcustom modus-themes-mode-line nil
@ -2102,6 +2120,7 @@ the mode lines."
(const :format "[%v] %t\n" :tag "Like `accented-3d', but with a noticeable border" borderless-accented-3d)
(const :format "[%v] %t\n" :tag "Like `accented-moody', but with a noticeable border" borderless-accented-moody))
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Mode line"))
(defcustom modus-themes-diffs nil
@ -2148,6 +2167,7 @@ interest of backward compatibility."
(const :format "[%v] %t\n" :tag "No backgrounds, except for refined diffs" fg-only-deuteranopia)
(const :format "[%v] %t\n" :tag "Alias of `fg-only-deuteranopia' for backward compatibility" fg-only))
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Diffs"))
(defcustom modus-themes-completions nil
@ -2192,6 +2212,7 @@ and `opinionated' possibilities."
(const :format "[%v] %t\n" :tag "Subtle backgrounds for various elements" moderate)
(const :format "[%v] %t\n" :tag "Radical alternative to the framework's looks" opinionated))
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Completion UIs"))
(defcustom modus-themes-prompts nil
@ -2223,6 +2244,7 @@ they use grayscale values instead of accented ones."
(const :format "[%v] %t\n" :tag "Like `subtle-accented' but grayscale" subtle-gray)
(const :format "[%v] %t\n" :tag "Like `intense-accented' but grayscale" intense-gray))
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Command prompts"))
(defcustom modus-themes-intense-hl-line nil
@ -2232,6 +2254,7 @@ they use grayscale values instead of accented ones."
:version "28.1"
:type 'boolean
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Line highlighting"))
(make-obsolete 'modus-themes-intense-hl-line 'modus-themes-hl-line "1.3.0")
@ -2273,6 +2296,7 @@ results with underlines."
(const :format "[%v] %t\n" :tag "Just a neutral underline, without a background" underline-only-neutral)
(const :format "[%v] %t\n" :tag "Just an accented underline, without a background" underline-only-accented))
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Line highlighting"))
(defcustom modus-themes-subtle-line-numbers nil
@ -2282,6 +2306,7 @@ results with underlines."
:version "28.1"
:type 'boolean
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Line numbers"))
(defcustom modus-themes-paren-match nil
@ -2305,6 +2330,7 @@ uses a bold weight."
(const :format "[%v] %t\n" :tag "Intense saturated background" intense)
(const :format "[%v] %t\n" :tag "Like `intense' but with bold weight" intense-bold))
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Matching parentheses"))
(defcustom modus-themes-syntax nil
@ -2350,6 +2376,7 @@ Option `faint-yellow-comments' combines the `faint' style with
(const :format "[%v] %t\n" :tag "Like `alt-syntax' but with yellow comments" alt-syntax-yellow-comments)
(const :format "[%v] %t\n" :tag "Like `faint' but with yellow comments" faint-yellow-comments))
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Syntax styles"))
(defcustom modus-themes-links nil
@ -2388,6 +2415,7 @@ using a subtle underline below it."
(const :format "[%v] %t\n" :tag "Apply underline only; use default foreground" underline-only)
(const :format "[%v] %t\n" :tag "Like `underline-only' but with a subtle underline" neutral-underline-only))
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Link styles"))
(defcustom modus-themes-region nil
@ -2425,6 +2453,7 @@ to the end of each line within the region."
(const :format "[%v] %t\n" :tag "Like the default, but with an accented background" accent)
(const :format "[%v] %t\n" :tag "As with the `accent' option, but does not extend" accent-no-extend))
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Active region"))
(defcustom modus-themes-success-deuteranopia nil
@ -2443,6 +2472,7 @@ configured to conform with deuteranopia: `modus-themes-diffs'."
:version "28.1"
:type 'boolean
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Success' color-code"))
(defcustom modus-themes-mail-citations nil
@ -2467,6 +2497,7 @@ colored into a uniform shade of shade of gray."
(const :format "[%v] %t\n" :tag "Deprecated alias of `faint'" desaturated)
(const :format "[%v] %t\n" :tag "Uniformly gray mail citations" monochrome))
:set #'modus-themes--set-option
:initialize #'custom-initialize-default
:link '(info-link "(modus-themes) Mail citations"))