]> git.eshelyaron.com Git - emacs.git/commitdiff
(flymake-errline, flymake-warnline): Use more suitable colors on dark
authorChong Yidong <cyd@stupidchicken.com>
Wed, 23 Jul 2008 22:02:06 +0000 (22:02 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Wed, 23 Jul 2008 22:02:06 +0000 (22:02 +0000)
displays.

lisp/progmodes/flymake.el

index f3c5885d031ed616dc262a3241de4bb118990c59..395aa3e2ff0bc1f8ec7b9bc5370321b3108c641d 100644 (file)
@@ -799,15 +799,15 @@ Return t if it has at least one flymake overlay, nil if no overlay."
     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)