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

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

[nongnu] elpa/dracula-theme 63ad8db 010/187: Emacs: theme trailing white


From: ELPA Syncer
Subject: [nongnu] elpa/dracula-theme 63ad8db 010/187: Emacs: theme trailing whitespace consistently.
Date: Thu, 21 Oct 2021 18:04:46 -0400 (EDT)

branch: elpa/dracula-theme
commit 63ad8db2caf4a55ed24ee95e8bd2fef7e06f9336
Author: Sebastian Reuße <seb@wirrsal.net>
Commit: Sebastian Reuße <seb@wirrsal.net>

    Emacs: theme trailing whitespace consistently.
    
    Emacs has two ways to show trailing whitespace. In any mode, one may set
    show-trailing-whitespace to “t”, which will cause trailing whitespace to
    use trailing-whitespace face. Or, more elaborately, one may use
    whitespace-mode, which uses whitespace-trailing face. whitespace-mode
    uses “red1” by default, but we want both faces look the same, so we let
    the latter inherit from the former.
---
 dracula-theme.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dracula-theme.el b/dracula-theme.el
index 0f2d7dc..6a4401c 100644
--- a/dracula-theme.el
+++ b/dracula-theme.el
@@ -175,6 +175,7 @@
    `(undo-tree-visualizer-register-face ((,class :foreground ,type)))
    `(slime-repl-inputed-output-face ((,class (:foreground ,type))))
    `(trailing-whitespace ((,class :foreground nil :background ,warning)))
+   `(whitespace-trailing ((,class :inherit trailing-whitespace)))
    `(rainbow-delimiters-depth-1-face ((,class :foreground ,rainbow-1)))
    `(rainbow-delimiters-depth-2-face ((,class :foreground ,rainbow-2)))
    `(rainbow-delimiters-depth-3-face ((,class :foreground ,rainbow-3)))



reply via email to

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