changeset 96944:a34136e0b961

(flymake-errline, flymake-warnline): Use more suitable colors on dark displays.
author Chong Yidong <cyd@stupidchicken.com>
date Wed, 23 Jul 2008 21:54:48 +0000
parents 54e09977a797
children bf970fafde22
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 21:54:39 2008 +0000
+++ b/lisp/progmodes/flymake.el	Wed Jul 23 21:54:48 2008 +0000
@@ -787,15 +787,15 @@
     has-flymake-overlays))
 
 (defface flymake-errline
-  ;;+   '((((class color)) (:foreground "OrangeRed" :bold t :underline t))
-  ;;+   '((((class color)) (:underline "OrangeRed"))
-  '((((class color)) (:background "LightPink"))
+  '((((background dark)) (:background "Firebrick4"))
+    (((background light)) (:background "LightPink"))
     (t (:bold t)))
   "Face used for marking error lines."
   :group 'flymake)
 
 (defface flymake-warnline
-  '((((class color)) (:background "LightBlue2"))
+  '((((background dark)) (:background "DarkBlue"))
+    (((background light)) (:background "LightBlue2"))
     (t (:bold t)))
   "Face used for marking warning lines."
   :group 'flymake)