[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/modus-operandi-theme 677116a 05/54: Make "section headi
From: |
Stefan Monnier |
Subject: |
[elpa] externals/modus-operandi-theme 677116a 05/54: Make "section headings" customisation `:extend t' |
Date: |
Thu, 4 Jun 2020 08:20:09 -0400 (EDT) |
branch: externals/modus-operandi-theme
commit 677116a7da11522864fa0aeca98ef028e8a0dbf3
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Make "section headings" customisation `:extend t'
This is for versions of Emacs that are >= 27. The face's attributes,
such as the background colour, will now extend to the end of the window
rather than stop at the last character. Such was the standard behaviour
in prior Emacs releases.
The idea for this change was recommended in issue 40:
https://gitlab.com/protesilaos/modus-themes/-/issues/40
---
modus-operandi-theme.el | 4 +++-
modus-vivendi-theme.el | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 0d6c4ec..14ad5c5 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -446,7 +446,9 @@ RAINBOW is the saturated one."
"Conditionally extend heading styles.
Apply BG to background and FG to overline."
(if modus-operandi-theme-section-headings
- (list :background bg :overline fg)
+ (append
+ (and (>= emacs-major-version 27) '(:extend t))
+ (list :background bg :overline fg))
(list :background nil :overline nil)))
(defun modus-operandi-theme-org-todo-block (bgbox fgbox fg)
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 19875f8..2b297c3 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -446,7 +446,9 @@ RAINBOW is the saturated one."
"Conditionally extend heading styles.
Apply BG to background and FG to overline."
(if modus-vivendi-theme-section-headings
- (list :background bg :overline fg)
+ (append
+ (and (>= emacs-major-version 27) '(:extend t))
+ (list :background bg :overline fg))
(list :background nil :overline nil)))
(defun modus-vivendi-theme-org-todo-block (bgbox fgbox fg)
- [elpa] externals/modus-operandi-theme updated (fc03967 -> 503a772), Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme d6586a4 01/54: Refactor mapping of colours to faces. EXPERIMENTAL, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 5bff8ce 04/54: Add another step in the font scale for headings, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 677116a 05/54: Make "section headings" customisation `:extend t',
Stefan Monnier <=
- [elpa] externals/modus-operandi-theme e4714ff 02/54: Finalise palette implementation and customisation, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 0d9b1d4 03/54: Expand README with new customisation methods, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 67a677e 07/54: Fix `org-hide' colour, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme a044e41 10/54: Add support for YASNIPPET, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 775c8f9 15/54: Clarify the use of the special `bg-tab-bar' colour, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 2ffe984 16/54: Clarify docs for scaled headings and their values, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 7c37202 17/54: Don't set background in regular ORG modeline clock, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme ae0e956 25/54: Fix regression with byte compilation, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 7a8a7cb 19/54: Implement minor palette tweaks for Modus Operandi, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 1faab94 30/54: Tweak MAGIT header line key colour, Stefan Monnier, 2020/06/04