[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/modus-vivendi-theme 1c605b3 085/110: Internal: improve
From: |
Stefan Monnier |
Subject: |
[elpa] externals/modus-vivendi-theme 1c605b3 085/110: Internal: improve function of "section headings" |
Date: |
Wed, 29 Apr 2020 21:40:13 -0400 (EDT) |
branch: externals/modus-vivendi-theme
commit 1c605b370acf9b23505ac6900a54f1b50860cf8d
Author: Protesilaos Stavrou <address@hidden>
Commit: Protesilaos Stavrou <address@hidden>
Internal: improve function of "section headings"
This is to avoid the case the user unsets the variable only to be
confronted with an undesired background colour.
---
modus-operandi-theme.el | 5 +++--
modus-vivendi-theme.el | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 02ad7e2..ed28477 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -434,8 +434,9 @@ RAINBOW is the saturated one."
(defun modus-operandi-theme-heading-block (bg fg)
"Conditionally extend heading styles.
Apply BG to background and FG to overline."
- (when modus-operandi-theme-section-headings
- (list :background bg :overline fg)))
+ (if modus-operandi-theme-section-headings
+ (list :background bg :overline fg)
+ (list :background nil :overline nil)))
(defun modus-operandi-theme-org-todo-block (bgbox fgbox fg)
"Conditionally extend the styles of Org keywords.
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index b4c042d..94481ae 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -434,8 +434,9 @@ RAINBOW is the saturated one."
(defun modus-vivendi-theme-heading-block (bg fg)
"Conditionally extend heading styles.
Apply BG to background and FG to overline."
- (when modus-vivendi-theme-section-headings
- (list :background bg :overline fg)))
+ (if modus-vivendi-theme-section-headings
+ (list :background bg :overline fg)
+ (list :background nil :overline nil)))
(defun modus-vivendi-theme-org-todo-block (bgbox fgbox fg)
"Conditionally extend the styles of Org keywords.
- [elpa] externals/modus-vivendi-theme b5dba7a 081/110: Internal: use defun for conditional Org src blocks, (continued)
- [elpa] externals/modus-vivendi-theme b5dba7a 081/110: Internal: use defun for conditional Org src blocks, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 0344a1b 101/110: Add support for MAN and WOMAN, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 37309fb 094/110: Internal: tweak Modus Vivendi "red-active" value, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 3d153f3 098/110: Add support for TUAREG, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme ead95c9 106/110: Use bespoke colour for contextually unfocused text, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 1742916 086/110: Internal: delete trailing whitespace, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 52a247a 087/110: Expand README with table of contents and more docs, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 44f75d3 107/110: Internal: refine Modus Operandi main green values, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 29078bd 109/110: Upgrade to version 0.8.0, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 95c073b 080/110: Add support for RCIRC, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 1c605b3 085/110: Internal: improve function of "section headings",
Stefan Monnier <=
- [elpa] externals/modus-vivendi-theme 23889e0 090/110: Section heading style for Org priorities, keywords, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme cd9cce9 093/110: Refine HYDRA colours, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 277c202 099/110: Review ELFEED faces, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 2101557 105/110: Use less intense foreground for fringe indicators, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme d68b1e3 031/110: Major review of SMERGE faces, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 0c4f871 029/110: Major review of EDIFF (superior UI/semantics), Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 5107407 059/110: Internal: convert two defmacro into defun, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 7a7e22c 060/110: Internal: reorganise `defun' initial placement, Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme e50f582 064/110: Internal: add page breaks for convenience (the ^L), Stefan Monnier, 2020/04/29
- [elpa] externals/modus-vivendi-theme 1921e3b 088/110: Use web-friendly href for README table of contents, Stefan Monnier, 2020/04/29