changeset 80627:4f321e3844e0

(flymake-errline, flymake-warnline): Use more suitable colors on dark displays.
author Chong Yidong <cyd@stupidchicken.com>
date Wed, 23 Jul 2008 22:02:06 +0000
parents 0efa227aec2d
children 49c76f6173ab
files lisp/progmodes/flymake.el
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/flymake.el	Wed Jul 23 22:01:47 2008 +0000
+++ b/lisp/progmodes/flymake.el	Wed Jul 23 22:02:06 2008 +0000
@@ -799,15 +799,15 @@
     has-flymake-overlays))
 
 (defface flymake-errline
-  ;;+   '((((class color)) (:foreground "OrangeRed" :bold t :underline t))
-  ;;+   '((((class color)) (:underline "OrangeRed"))
-  '((((class color)) (:background "LightPink"))
+  '((((class color) (background dark)) (:background "Firebrick4"))
+    (((class color) (background light)) (:background "LightPink"))
     (t (:bold t)))
   "Face used for marking error lines."
   :group 'flymake)
 
 (defface flymake-warnline
-  '((((class color)) (:background "LightBlue2"))
+  '((((class color) (background dark)) (:background "DarkBlue"))
+    (((class color) (background light)) (:background "LightBlue2"))
     (t (:bold t)))
   "Face used for marking warning lines."
   :group 'flymake)