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

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

[elpa] externals/modus-operandi-theme ae2fa4a 70/99: Let Markdown tables


From: Stefan Monnier
Subject: [elpa] externals/modus-operandi-theme ae2fa4a 70/99: Let Markdown tables always inherit fixed-pitch
Date: Fri, 31 Jul 2020 09:25:28 -0400 (EDT)

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

    Let Markdown tables always inherit fixed-pitch
    
    This is to ensure that the table is aligned properly when the user opts
    for 'M-x variable-pitch-mode' (or equivalent).
---
 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 af0b1c2..4161bd6 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -2612,7 +2612,7 @@ Also bind `class' to ((class color) (min-colors 89))."
                                 :foreground ,fg-special-mild)))
    `(markdown-reference-face ((,class :inherit markdown-markup-face)))
    `(markdown-strike-through-face ((,class :strike-through t)))
-   `(markdown-table-face ((,class :foreground ,fg-special-cold)))
+   `(markdown-table-face ((,class :inherit fixed-pitch :foreground 
,fg-special-cold)))
    `(markdown-url-face ((,class :foreground ,blue)))
    ;;;; markup-faces (`adoc-mode')
    `(markup-anchor-face ((,class :foreground ,fg-inactive)))
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 33fe032..28c51d8 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -2612,7 +2612,7 @@ Also bind `class' to ((class color) (min-colors 89))."
                                 :foreground ,fg-special-mild)))
    `(markdown-reference-face ((,class :inherit markdown-markup-face)))
    `(markdown-strike-through-face ((,class :strike-through t)))
-   `(markdown-table-face ((,class :foreground ,fg-special-cold)))
+   `(markdown-table-face ((,class :inherit fixed-pitch :foreground 
,fg-special-cold)))
    `(markdown-url-face ((,class :foreground ,blue)))
    ;;;; markup-faces (`adoc-mode')
    `(markup-anchor-face ((,class :foreground ,fg-inactive)))



reply via email to

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