branch: elpa/dracula-theme
commit 63ad8db2caf4a55ed24ee95e8bd2fef7e06f9336
Author: Sebastian Reuße <[email protected]>
Commit: Sebastian Reuße <[email protected]>
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)))