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

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

[elpa] externals/ef-themes 538df37331: Refine ef-themes--heading conditi


From: ELPA Syncer
Subject: [elpa] externals/ef-themes 538df37331: Refine ef-themes--heading condition for :inherit
Date: Thu, 1 Dec 2022 11:57:33 -0500 (EST)

branch: externals/ef-themes
commit 538df37331f85996c05af8c07b199802712d0312
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Refine ef-themes--heading condition for :inherit
---
 ef-themes.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/ef-themes.el b/ef-themes.el
index 3f2cbba181..03cf3c756e 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -348,14 +348,12 @@ sequence given SEQ-PRED, using SEQ-DEFAULT as a fallback."
          (style-listp (listp style))
          (properties style)
          (var (when (memq 'variable-pitch properties) 'variable-pitch))
-         (varbold (if var
-                      (append (list 'bold) (list var))
-                    'bold))
          (weight (when style-listp (ef-themes--weight style))))
     (list :inherit
           (cond
            (weight var)
-           (varbold))
+           (var (append (list 'bold) (list var)))
+           ('bold))
           :height
           (ef-themes--alist-or-seq properties 'height #'floatp 'unspecified)
           :weight



reply via email to

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