[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/modus-operandi-theme 505043b 066/153: Fix bug with cust
From: |
Stefan Monnier |
Subject: |
[elpa] externals/modus-operandi-theme 505043b 066/153: Fix bug with custom variable obsolete alias |
Date: |
Thu, 18 Mar 2021 13:47:41 -0400 (EDT) |
branch: externals/modus-operandi-theme
commit 505043b272242176f5a85311ab0f95fc8bf961f6
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Fix bug with custom variable obsolete alias
I should not have use 'define-obsolete-variable-alias' because that is
meant to retain the user's previous value. So a boolean to an alist
would fail for a non-nil value.
See issue 88: https://gitlab.com/protesilaos/modus-themes/-/issues/88
---
modus-operandi-theme.el | 10 ++++++----
modus-vivendi-theme.el | 10 ++++++----
2 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index bde370b..a661e68 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -446,15 +446,17 @@ between foreground and background is >= 7:1)."
"Use proportional fonts (variable-pitch) in headings."
:type 'boolean)
-(define-obsolete-variable-alias 'modus-operandi-theme-rainbow-headings
- 'modus-operandi-theme-headings "`modus-operandi-theme' 0.13.0")
+(make-obsolete 'modus-operandi-theme-rainbow-headings
+ 'modus-operandi-theme-headings
+ "`modus-operandi-theme' 0.13.0")
(defcustom modus-operandi-theme-rainbow-headings nil
"Use more saturated colours for headings."
:type 'boolean)
-(define-obsolete-variable-alias 'modus-operandi-theme-section-headings
- 'modus-operandi-theme-headings "`modus-operandi-theme' 0.13.0")
+(make-obsolete 'modus-operandi-theme-section-headings
+ 'modus-operandi-theme-headings
+ "`modus-operandi-theme' 0.13.0")
(defcustom modus-operandi-theme-section-headings nil
"Use a background and an overline in headings."
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 4afbe9c..a6b6457 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -446,15 +446,17 @@ between foreground and background is >= 7:1)."
"Use proportional fonts (variable-pitch) in headings."
:type 'boolean)
-(define-obsolete-variable-alias 'modus-vivendi-theme-rainbow-headings
- 'modus-vivendi-theme-headings "`modus-vivendi-theme' 0.13.0")
+(make-obsolete 'modus-vivendi-theme-rainbow-headings
+ 'modus-vivendi-theme-headings
+ "`modus-vivendi-theme' 0.13.0")
(defcustom modus-vivendi-theme-rainbow-headings nil
"Use more saturated colours for headings."
:type 'boolean)
-(define-obsolete-variable-alias 'modus-vivendi-theme-section-headings
- 'modus-vivendi-theme-headings "`modus-vivendi-theme' 0.13.0")
+(make-obsolete 'modus-vivendi-theme-section-headings
+ 'modus-vivendi-theme-headings
+ "`modus-vivendi-theme' 0.13.0")
(defcustom modus-vivendi-theme-section-headings nil
"Use a background and an overline in headings."
- [elpa] externals/modus-operandi-theme a9589fb 098/153: Minor indentation fix, (continued)
- [elpa] externals/modus-operandi-theme a9589fb 098/153: Minor indentation fix, Stefan Monnier, 2021/03/18
- [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 <=
- [elpa] externals/modus-operandi-theme adb02c5 069/153: Use more appropriate syntax for obsolete variables, Stefan Monnier, 2021/03/18
- [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