[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/modus-operandi-theme adb02c5 069/153: Use more appropri
From: |
Stefan Monnier |
Subject: |
[elpa] externals/modus-operandi-theme adb02c5 069/153: Use more appropriate syntax for obsolete variables |
Date: |
Thu, 18 Mar 2021 13:47:41 -0400 (EDT) |
branch: externals/modus-operandi-theme
commit adb02c58ce54e0fa4a3e0953e42f2aaa69557b23
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Use more appropriate syntax for obsolete variables
---
modus-operandi-theme.el | 30 ++++++++++++++++++------------
modus-vivendi-theme.el | 30 ++++++++++++++++++------------
2 files changed, 36 insertions(+), 24 deletions(-)
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 066747c..8de6a5d 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -611,8 +611,9 @@ For more on the matter, read the documentation of
`set-face-attribute', specifically the ':height' section."
:type 'number)
-(define-obsolete-variable-alias 'modus-operandi-theme-visible-fringes
- 'modus-operandi-theme-fringes "`modus-operandi-theme' 0.12.0")
+(make-obsolete 'modus-operandi-theme-visible-fringes
+ 'modus-operandi-theme-fringes
+ "`modus-operandi-theme' 0.12.0")
(defcustom modus-operandi-theme-visible-fringes nil
"Use a visible style for fringes."
@@ -630,15 +631,17 @@ pronounced greyscale value."
(const :tag "Subtle greyscale background" subtle)
(const :tag "Intense greyscale background" intense)))
-(define-obsolete-variable-alias 'modus-operandi-theme-distinct-org-blocks
- 'modus-operandi-theme-org-blocks "`modus-operandi-theme' 0.11.0")
+(make-obsolete 'modus-operandi-theme-distinct-org-blocks
+ 'modus-operandi-theme-org-blocks
+ "`modus-operandi-theme' 0.11.0")
(defcustom modus-operandi-theme-distinct-org-blocks nil
"Use a distinct neutral background for `org-mode' blocks."
:type 'boolean)
-(define-obsolete-variable-alias 'modus-operandi-theme-rainbow-org-src-blocks
- 'modus-operandi-theme-org-blocks "`modus-operandi-theme' 0.11.0")
+(make-obsolete 'modus-operandi-theme-rainbow-org-src-blocks
+ 'modus-operandi-theme-org-blocks
+ "`modus-operandi-theme' 0.11.0")
(defcustom modus-operandi-theme-rainbow-org-src-blocks nil
"Use colour-coded backgrounds for `org-mode' source blocks.
@@ -668,8 +671,9 @@ association list)."
(const :tag "Subtle grey block background" greyscale)
(const :tag "Colour-coded background per programming language"
rainbow)))
-(define-obsolete-variable-alias 'modus-operandi-theme-3d-modeline
- 'modus-operandi-theme-mode-line "`modus-operandi-theme' 0.13.0")
+(make-obsolete 'modus-operandi-theme-3d-modeline
+ 'modus-operandi-theme-mode-line
+ "`modus-operandi-theme' 0.13.0")
(defcustom modus-operandi-theme-3d-modeline nil
"Use a three-dimensional style for the active mode line."
@@ -697,8 +701,9 @@ intended purpose, this option can also be used without the
(const :tag "Three-dimensional style for the active mode line" 3d)
(const :tag "No box effects, which are optimal for use with the
`moody' library" moody)))
-(define-obsolete-variable-alias 'modus-operandi-theme-subtle-diffs
- 'modus-operandi-theme-diffs "`modus-operandi-theme' 0.13.0")
+(make-obsolete 'modus-operandi-theme-subtle-diffs
+ 'modus-operandi-theme-diffs
+ "`modus-operandi-theme' 0.13.0")
(defcustom modus-operandi-theme-subtle-diffs nil
"Use fewer/dim backgrounds in `diff-mode', `ediff',`magit'."
@@ -726,8 +731,9 @@ greyscale value is used."
(const :tag "Slightly accented backgrounds with tinted text"
desaturated)
(const :tag "No backgrounds, except for refined diffs" fg-only)))
-(define-obsolete-variable-alias
'modus-operandi-theme-intense-standard-completions
- 'modus-operandi-theme-completions "`modus-operandi-theme' 0.12.0")
+(make-obsolete 'modus-operandi-theme-intense-standard-completions
+ 'modus-operandi-theme-completions
+ "`modus-operandi-theme' 0.12.0")
(defcustom modus-operandi-theme-intense-standard-completions nil
"Use prominent backgrounds for Icomplete, Ido, or similar."
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 3271c19..682c7a2 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -611,8 +611,9 @@ For more on the matter, read the documentation of
`set-face-attribute', specifically the ':height' section."
:type 'number)
-(define-obsolete-variable-alias 'modus-vivendi-theme-visible-fringes
- 'modus-vivendi-theme-fringes "`modus-vivendi-theme' 0.12.0")
+(make-obsolete 'modus-vivendi-theme-visible-fringes
+ 'modus-vivendi-theme-fringes
+ "`modus-vivendi-theme' 0.12.0")
(defcustom modus-vivendi-theme-visible-fringes nil
"Use a visible style for fringes."
@@ -630,15 +631,17 @@ pronounced greyscale value."
(const :tag "Subtle greyscale background" subtle)
(const :tag "Intense greyscale background" intense)))
-(define-obsolete-variable-alias 'modus-vivendi-theme-distinct-org-blocks
- 'modus-vivendi-theme-org-blocks "`modus-vivendi-theme' 0.11.0")
+(make-obsolete 'modus-vivendi-theme-distinct-org-blocks
+ 'modus-vivendi-theme-org-blocks
+ "`modus-vivendi-theme' 0.11.0")
(defcustom modus-vivendi-theme-distinct-org-blocks nil
"Use a distinct neutral background for `org-mode' blocks."
:type 'boolean)
-(define-obsolete-variable-alias 'modus-vivendi-theme-rainbow-org-src-blocks
- 'modus-vivendi-theme-org-blocks "`modus-vivendi-theme' 0.11.0")
+(make-obsolete 'modus-vivendi-theme-rainbow-org-src-blocks
+ 'modus-vivendi-theme-org-blocks
+ "`modus-vivendi-theme' 0.11.0")
(defcustom modus-vivendi-theme-rainbow-org-src-blocks nil
"Use colour-coded backgrounds for `org-mode' source blocks.
@@ -668,8 +671,9 @@ association list)."
(const :tag "Subtle grey block background" greyscale)
(const :tag "Colour-coded background per programming language"
rainbow)))
-(define-obsolete-variable-alias 'modus-vivendi-theme-3d-modeline
- 'modus-vivendi-theme-mode-line "`modus-vivendi-theme' 0.13.0")
+(make-obsolete 'modus-vivendi-theme-3d-modeline
+ 'modus-vivendi-theme-mode-line
+ "`modus-vivendi-theme' 0.13.0")
(defcustom modus-vivendi-theme-3d-modeline nil
"Use a three-dimensional style for the active mode line."
@@ -697,8 +701,9 @@ intended purpose, this option can also be used without the
(const :tag "Three-dimensional style for the active mode line" 3d)
(const :tag "No box effects, which are optimal for use with the
`moody' library" moody)))
-(define-obsolete-variable-alias 'modus-vivendi-theme-subtle-diffs
- 'modus-vivendi-theme-diffs "`modus-vivendi-theme' 0.13.0")
+(make-obsolete 'modus-vivendi-theme-subtle-diffs
+ 'modus-vivendi-theme-diffs
+ "`modus-vivendi-theme' 0.13.0")
(defcustom modus-vivendi-theme-subtle-diffs nil
"Use fewer/dim backgrounds in `diff-mode', `ediff',`magit'."
@@ -726,8 +731,9 @@ greyscale value is used."
(const :tag "Slightly accented backgrounds with tinted text"
desaturated)
(const :tag "No backgrounds, except for refined diffs" fg-only)))
-(define-obsolete-variable-alias
'modus-vivendi-theme-intense-standard-completions
- 'modus-vivendi-theme-completions "`modus-vivendi-theme' 0.12.0")
+(make-obsolete 'modus-vivendi-theme-intense-standard-completions
+ 'modus-vivendi-theme-completions
+ "`modus-vivendi-theme' 0.12.0")
(defcustom modus-vivendi-theme-intense-standard-completions nil
"Use prominent backgrounds for Icomplete, Ido, or similar."
- [elpa] externals/modus-operandi-theme aa58ca8 012/153: Fix link to issue in README, (continued)
- [elpa] externals/modus-operandi-theme aa58ca8 012/153: Fix link to issue in README, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 2d648ba 019/153: Remove superfluous optional arg in documentation, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 3a020a6 015/153: Add support for awesome-tray, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 83351ab 065/153: Add new headings' option to Info headers, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 335326f 024/153: Expand info manual with new sections, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 1b2ddc5 023/153: Apply distant-foreground to mode lines, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme cc23874 062/153: Add new headings' option to Markdown headers, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme ea8cbf7 073/153: Update manual's acknowledgements' section, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 7259b84 068/153: add support for cperl-mode, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 505043b 066/153: Fix bug with custom variable obsolete alias, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme adb02c5 069/153: Use more appropriate syntax for obsolete variables,
Stefan Monnier <=
- [elpa] externals/modus-operandi-theme 2364c9b 075/153: Let vterm base colours be distinct from Emacs', Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 94c9b1c 059/153: Silence linter for spurious eldoc error, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 0bcb9d8 082/153: Add note in manual on ERC escaped colour sequences, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 2b68ec1 085/153: Clarify how to disable themes in the manual, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme b3c74f8 096/153: Further tweaks to the "active" palette subset, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme a20598f 097/153: Abstract and simplify heading level styles, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 4456e99 099/153: Internal: use theme-level faces for diff styles, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 20796d7 102/153: Make 2 Helm faces consistent with theme underlines, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme aeaf598 103/153: Review calfw faces for consistency with the theme, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 4ad6413 105/153: Don't inherit variable pitch in Ord todo, priority, Stefan Monnier, 2021/03/18