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

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

[elpa] externals/ef-themes 21fc1761e8 3/3: Make diff-mode hunk headers s


From: ELPA Syncer
Subject: [elpa] externals/ef-themes 21fc1761e8 3/3: Make diff-mode hunk headers stand out a bit more
Date: Mon, 22 Aug 2022 08:57:33 -0400 (EDT)

branch: externals/ef-themes
commit 21fc1761e8e5e7fc090dcebc8399c1c9f7f9f629
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Make diff-mode hunk headers stand out a bit more
    
    This way they look like headings in the structure.  Otherwise they are
    lost in the context.
    
    I would have used ':extend t' here, but the underlying construct needs
    to cover the newline character for it to work.
---
 ef-themes.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ef-themes.el b/ef-themes.el
index b48d0d4678..514dfcff8c 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -710,9 +710,9 @@ Helper function for `ef-themes-preview-colors'."
     `(diff-context (( )))
     `(diff-error ((,c :inherit error)))
     `(diff-file-header ((,c :inherit bold)))
-    `(diff-function ((,c :inherit shadow)))
+    `(diff-function ((,c :inherit bold)))
     `(diff-header (( )))
-    `(diff-hunk-header ((,c :inherit bold)))
+    `(diff-hunk-header ((,c :inherit bold :background ,bg-alt)))
     `(diff-index ((,c :inherit italic)))
     `(diff-nonexistent ((,c :inherit bold)))
 ;;;; dired



reply via email to

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