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

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

[elpa] externals/modus-operandi-theme 199bad3 106/153: Use (or x y) inst


From: Stefan Monnier
Subject: [elpa] externals/modus-operandi-theme 199bad3 106/153: Use (or x y) instead of (if x x y) in one place
Date: Thu, 18 Mar 2021 13:47:50 -0400 (EDT)

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

    Use (or x y) instead of (if x x y) in one place
---
 modus-operandi-theme.el | 2 +-
 modus-vivendi-theme.el  | 2 +-
 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)))



reply via email to

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