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

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

[elpa] externals/modus-vivendi-theme a2dfc18 56/73: Make org-formula inh


From: Stefan Monnier
Subject: [elpa] externals/modus-vivendi-theme a2dfc18 56/73: Make org-formula inherit from 'fixed-pitch'
Date: Wed, 26 Aug 2020 09:21:02 -0400 (EDT)

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

    Make org-formula inherit from 'fixed-pitch'
    
    This is to ensure that tables do not have a broken layout when the user
    opts for something like 'variable-pitch-mode'.
    
    For more on the matter, consult the README and/or issue 54:
    https://gitlab.com/protesilaos/modus-themes/-/issues/54
---
 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 105457c..1a918bc 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -3203,7 +3203,7 @@ Also bind `class' to ((class color) (min-colors 89))."
    `(org-drawer ((,class :foreground ,cyan-alt)))
    `(org-ellipsis ((,class :foreground nil))) ; inherits from the heading's 
colour
    `(org-footnote ((,class :foreground ,blue-alt :underline t)))
-   `(org-formula ((,class :foreground ,red-alt)))
+   `(org-formula ((,class :inherit fixed-pitch :foreground ,red-alt)))
    `(org-habit-alert-face ((,class :inherit modus-theme-intense-yellow)))
    `(org-habit-alert-future-face ((,class :inherit modus-theme-refine-yellow)))
    `(org-habit-clear-face ((,class :inherit modus-theme-intense-magenta)))
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index f35b9b7..f8a9908 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -3203,7 +3203,7 @@ Also bind `class' to ((class color) (min-colors 89))."
    `(org-drawer ((,class :foreground ,cyan-alt)))
    `(org-ellipsis ((,class :foreground nil))) ; inherits from the heading's 
colour
    `(org-footnote ((,class :foreground ,blue-alt :underline t)))
-   `(org-formula ((,class :foreground ,red-alt)))
+   `(org-formula ((,class :inherit fixed-pitch :foreground ,red-alt)))
    `(org-habit-alert-face ((,class :inherit modus-theme-intense-yellow)))
    `(org-habit-alert-future-face ((,class :inherit modus-theme-refine-yellow)))
    `(org-habit-clear-face ((,class :inherit modus-theme-intense-magenta)))



reply via email to

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