emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/modus-operandi-theme 3f18a36 72/99: RENAME CUSTOM OPTIO


From: Stefan Monnier
Subject: [elpa] externals/modus-operandi-theme 3f18a36 72/99: RENAME CUSTOM OPTION for variable-pitch headings
Date: Fri, 31 Jul 2020 09:25:28 -0400 (EDT)

branch: externals/modus-operandi-theme
commit 3f18a364ee7f77c9ec45bfe97b5b7010fd752318
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    RENAME CUSTOM OPTION for variable-pitch headings
---
 modus-operandi-theme.el | 9 ++++++++-
 modus-vivendi-theme.el  | 9 ++++++++-
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 538f4f1..5b58377 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -415,10 +415,17 @@ between foreground and background is >= 7:1)."
   "Use bold text in more code constructs."
   :type 'boolean)
 
+(define-obsolete-variable-alias 'modus-operandi-theme-proportional-fonts
+  'modus-operandi-theme-variable-pitch-headings "`modus-operandi-theme' 
0.11.0")
+
 (defcustom modus-operandi-theme-proportional-fonts nil
   "Use proportional fonts (variable-pitch) in headings."
   :type 'boolean)
 
+(defcustom modus-operandi-theme-variable-pitch-headings nil
+  "Use proportional fonts (variable-pitch) in headings."
+  :type 'boolean)
+
 (defcustom modus-operandi-theme-rainbow-headings nil
   "Use more saturated colours for headings."
   :type 'boolean)
@@ -893,7 +900,7 @@ Also bind `class' to ((class color) (min-colors 89))."
            (modus-theme-bold
             (if modus-operandi-theme-bold-constructs 'bold 'normal))
            (modus-theme-variable-pitch
-            (if modus-operandi-theme-proportional-fonts 'variable-pitch 
'default)))
+            (if modus-operandi-theme-variable-pitch-headings 'variable-pitch 
'default)))
        ,@body)))
 
 
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index a91e358..757aabd 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -415,10 +415,17 @@ between foreground and background is >= 7:1)."
   "Use bold text in more code constructs."
   :type 'boolean)
 
+(define-obsolete-variable-alias 'modus-vivendi-theme-proportional-fonts
+  'modus-vivendi-theme-variable-pitch-headings "`modus-vivendi-theme' 0.11.0")
+
 (defcustom modus-vivendi-theme-proportional-fonts nil
   "Use proportional fonts (variable-pitch) in headings."
   :type 'boolean)
 
+(defcustom modus-vivendi-theme-variable-pitch-headings nil
+  "Use proportional fonts (variable-pitch) in headings."
+  :type 'boolean)
+
 (defcustom modus-vivendi-theme-rainbow-headings nil
   "Use more saturated colours for headings."
   :type 'boolean)
@@ -893,7 +900,7 @@ Also bind `class' to ((class color) (min-colors 89))."
            (modus-theme-bold
             (if modus-vivendi-theme-bold-constructs 'bold 'normal))
            (modus-theme-variable-pitch
-            (if modus-vivendi-theme-proportional-fonts 'variable-pitch 
'default)))
+            (if modus-vivendi-theme-variable-pitch-headings 'variable-pitch 
'default)))
        ,@body)))
 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]