summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorProtesilaos Stavrou <info@protesilaos.com>2020-09-19 07:38:55 +0300
committerProtesilaos Stavrou <info@protesilaos.com>2020-09-19 07:39:55 +0300
commit199bad3d33c8a34c8a576abe2d2ac45c1fd89c94 (patch)
tree6ac6eaa0933c407d3a82d35eaddc319a0a114780
parent4ad6413b30ba5f37747e320a6b1c581a6528daf8 (diff)
Use (or x y) instead of (if x x y) in one place
-rw-r--r--modus-operandi-theme.el2
-rw-r--r--modus-vivendi-theme.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index ff6d1cd..3ab1bd7 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -885,7 +885,7 @@ background that can work well with either of the foreground
values. BORDER is a colour value that combines well with the
background and alternative foreground."
(let* ((key (modus-operandi-theme-heading-p `,level))
- (style (if key key (modus-operandi-theme-heading-p t)))
+ (style (or key (modus-operandi-theme-heading-p t)))
(var (if modus-operandi-theme-variable-pitch-headings
'variable-pitch
'default)))
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 04536b3..352165f 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -885,7 +885,7 @@ background that can work well with either of the foreground
values. BORDER is a colour value that combines well with the
background and alternative foreground."
(let* ((key (modus-vivendi-theme-heading-p `,level))
- (style (if key key (modus-vivendi-theme-heading-p t)))
+ (style (or key (modus-vivendi-theme-heading-p t)))
(var (if modus-vivendi-theme-variable-pitch-headings
'variable-pitch
'default)))