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

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

[elpa] externals/modus-operandi-theme 94e1138 76/99: Remove extra proper


From: Stefan Monnier
Subject: [elpa] externals/modus-operandi-theme 94e1138 76/99: Remove extra properties from outline-minor-mode
Date: Fri, 31 Jul 2020 09:25:29 -0400 (EDT)

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

    Remove extra properties from outline-minor-mode
    
    Removes the added background, as these faces may already inherit one
    from the 'outline-mode'.
    
    Note that outline-mode and outline-minor-mode follow the theme-level
    customisations for headings that affect org-mode---see README.
---
 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 b89cae7..73d62bd 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -3067,8 +3067,9 @@ Also bind `class' to ((class color) (min-colors 89))."
    `(outline-8 ((,class :inherit (bold ,modus-theme-variable-pitch)
                         ,@(modus-operandi-theme-heading-foreground fg-dim 
magenta)
                         ,@(modus-operandi-theme-heading-block bg-alt fg-alt))))
-   `(outline-minor-0 ((,class :background ,bg-alt)))
 ;;;;; outline-minor-faces
+   ;; No need for extra properties as they inherit from `outline-mode'.
+   `(outline-minor-0 ((,class nil)))
 ;;;;; package (M-x list-packages)
    `(package-description ((,class :foreground ,fg-special-cold)))
    `(package-help-section-name ((,class :inherit bold :foreground 
,magenta-alt-other)))
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index c816695..8a4d37d 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -3067,8 +3067,9 @@ Also bind `class' to ((class color) (min-colors 89))."
    `(outline-8 ((,class :inherit (bold ,modus-theme-variable-pitch)
                         ,@(modus-vivendi-theme-heading-foreground fg-dim 
magenta)
                         ,@(modus-vivendi-theme-heading-block bg-alt fg-alt))))
-   `(outline-minor-0 ((,class :background ,bg-alt)))
 ;;;;; outline-minor-faces
+   ;; No need for extra properties as they inherit from `outline-mode'.
+   `(outline-minor-0 ((,class nil)))
 ;;;;; package (M-x list-packages)
    `(package-description ((,class :foreground ,fg-special-cold)))
    `(package-help-section-name ((,class :inherit bold :foreground 
,magenta-alt-other)))



reply via email to

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