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

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

[elpa] externals/modus-vivendi-theme 05844a1 18/73: Let 'hl-todo' keywor


From: Stefan Monnier
Subject: [elpa] externals/modus-vivendi-theme 05844a1 18/73: Let 'hl-todo' keywords use optional slant
Date: Wed, 26 Aug 2020 09:20:54 -0400 (EDT)

branch: externals/modus-vivendi-theme
commit 05844a19335b8184bbfb5b8af3c96bd6c2cdc84a
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Let 'hl-todo' keywords use optional slant
    
    When the "slanted constructs" option is enabled, comments use an
    italicised font style.  The idea with this commit is to make those
    highlighted keywords feel part of the context they appear in.
---
 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 a56ef48..f88f694 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -2321,7 +2321,7 @@ Also bind `class' to ((class color) (min-colors 89))."
 ;;;;; hl-fill-column
    `(hl-fill-column-face ((,class :background ,bg-active :foreground 
,fg-active)))
 ;;;;; hl-todo
-   `(hl-todo ((,class :inherit bold :foreground ,red-alt-other)))
+   `(hl-todo ((,class :inherit bold :foreground ,red-alt-other :slant 
,modus-theme-slant)))
 ;;;;; hydra
    `(hydra-face-amaranth ((,class :inherit bold :foreground ,yellow)))
    `(hydra-face-blue ((,class :inherit bold :foreground ,blue-alt)))
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 60757cb..9059ac0 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -2321,7 +2321,7 @@ Also bind `class' to ((class color) (min-colors 89))."
 ;;;;; hl-fill-column
    `(hl-fill-column-face ((,class :background ,bg-active :foreground 
,fg-active)))
 ;;;;; hl-todo
-   `(hl-todo ((,class :inherit bold :foreground ,red-alt-other)))
+   `(hl-todo ((,class :inherit bold :foreground ,red-alt-other :slant 
,modus-theme-slant)))
 ;;;;; hydra
    `(hydra-face-amaranth ((,class :inherit bold :foreground ,yellow)))
    `(hydra-face-blue ((,class :inherit bold :foreground ,blue-alt)))



reply via email to

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