diff options
author | Joakim Verona <joakim@verona.se> | 2011-12-28 04:12:56 +0100 |
---|---|---|
committer | Joakim Verona <joakim@verona.se> | 2011-12-28 04:12:56 +0100 |
commit | bb29f044aa967831cd664c54eba0de0c701436ce (patch) | |
tree | 1398cc9780bbae0fdad071a3a3765a571c3f6d7b /lisp/whitespace.el | |
parent | 3c935a7e996701244d166f684119f0ff97e25496 (diff) | |
parent | 5e605a2e528955721fc6f2bd7b9f174c15075fb1 (diff) | |
download | emacs-bb29f044aa967831cd664c54eba0de0c701436ce.tar.gz emacs-bb29f044aa967831cd664c54eba0de0c701436ce.tar.bz2 emacs-bb29f044aa967831cd664c54eba0de0c701436ce.zip |
upstream i think
Diffstat (limited to 'lisp/whitespace.el')
-rw-r--r-- | lisp/whitespace.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/whitespace.el b/lisp/whitespace.el index 53a35b4f0b3..57f51e21fbb 100644 --- a/lisp/whitespace.el +++ b/lisp/whitespace.el @@ -623,8 +623,12 @@ and `newline'." (defface whitespace-newline '((((class color) (background dark)) (:foreground "darkgray" :bold nil)) - (((class color) (background light)) + (((class color) (min-colors 88) (background light)) (:foreground "lightgray" :bold nil)) + ;; Displays with 16 colors use lightgray as background, so using a + ;; lightgray foreground makes the newline mark invisible. + (((class color) (background light)) + (:foreground "brown" :bold nil)) (t (:underline t :bold nil))) "Face used to visualize NEWLINE char mapping. |