Commit 00db469c authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Tweak whitespace-newline color for 16-color displays.

 lisp/whitespace.el (whitespace-newline): Use a different foreground
 color for 16-color light-background displays.
parent b0b19974
2011-11-26 Eli Zaretskii <eliz@gnu.org>
* whitespace.el (whitespace-newline): Use a different foreground
color for 16-color light-background displays.
2011-11-24 Chong Yidong <cyd@gnu.org>
* window.el (display-buffer--special-action): Doc fix.
......
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment