branch: externals/ef-themes commit 21fc1761e8e5e7fc090dcebc8399c1c9f7f9f629 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@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