[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/modus-operandi-theme 46c99ed 057/112: Do not set the de
From: |
Stefan Monnier |
Subject: |
[elpa] externals/modus-operandi-theme 46c99ed 057/112: Do not set the default background in non-GUI Emacs |
Date: |
Mon, 30 Mar 2020 15:59:38 -0400 (EDT) |
branch: externals/modus-operandi-theme
commit 46c99ed272fe884722dd91d5b81188e6f3037efb
Author: Protesilaos Stavrou <address@hidden>
Commit: Protesilaos Stavrou <address@hidden>
Do not set the default background in non-GUI Emacs
This patch was provided by David Edmondson in issue 26:
https://gitlab.com/protesilaos/modus-themes/-/issues/26
---
modus-operandi-theme.el | 3 ++-
modus-vivendi-theme.el | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 0aa8eac..52d1af2 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -526,7 +526,8 @@ between foreground and background is >= 7:1)."
;;;;;;;;;;;;;;;;;;;
;;; default constructs
;;;; absolute essentials
- `(default ((,class (:background ,bg-main :foreground ,fg-main))))
+ `(default ((,class (:background ,(when (display-graphic-p) bg-main)
+ :foreground ,fg-main))))
`(cursor ((,class (:background ,fg-main))))
`(fringe ((,class (:background ,bg-main :foreground ,fg-main))))
;;;; basic and/or ungrouped styles
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index aa14f2e..9421e31 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -526,7 +526,8 @@ between foreground and background is >= 7:1)."
;;;;;;;;;;;;;;;;;;;
;;; default constructs
;;;; absolute essentials
- `(default ((,class (:background ,bg-main :foreground ,fg-main))))
+ `(default ((,class (:background ,(when (display-graphic-p) bg-main)
+ :foreground ,fg-main))))
`(cursor ((,class (:background ,fg-main))))
`(fringe ((,class (:background ,bg-main :foreground ,fg-main))))
;;;; basic and/or ungrouped styles
- [elpa] externals/modus-operandi-theme e8efe89 028/112: MAJOR REVIEW of diff views (`diff-mode', `magit'), (continued)
- [elpa] externals/modus-operandi-theme e8efe89 028/112: MAJOR REVIEW of diff views (`diff-mode', `magit'), Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 3e6332c 029/112: Merge branch 'experimental-diff-mode', Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 8ed8b43 039/112: Add support for BUFLER, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 8bf2129 046/112: Internal: remove a few superfluous parentheses, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 497ed60 034/112: Reword note in README for Helm grep, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme b09c076 041/112: Add support for BM (visual bookmarks for Emacs), Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 84ea727 045/112: Add tentative support for MARKUP-FACES (adoc-mode), Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 709ecfe 047/112: Add tentative support for CIDER, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme efae501 050/112: Add support for SELECTRUM, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 990539b 055/112: Define dedicated colours for tabs, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 46c99ed 057/112: Do not set the default background in non-GUI Emacs,
Stefan Monnier <=
- [elpa] externals/modus-operandi-theme 856626d 051/112: Add CHANGELOG with release notes of all tags, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 8aac934 056/112: Add support for CENTAUR-TABS, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme cc9e4c5 059/112: Add support for ORG-SUPERSTAR, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme a4d69ba 060/112: Add support for HIGHLIGHT-THING, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme d454e0f 064/112: Use appropriate red for `trailing-whitespace', Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 2d1c21c 077/112: Use new fringe colours in BM fringe indicators, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme cac1f03 085/112: Support HIGHLIGHT-ESCAPE-SEQUENCES (hes-mode), Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme a5f4ece 033/112: Refinements for MAGIT/DIFF hunk headers, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 618560a 038/112: Remove box property from `mode-line-emphasis', Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 00249c8 040/112: Revert "Add support for BUFLER", Stefan Monnier, 2020/03/30