# HG changeset patch # User Chong Yidong # Date 1216850526 0 # Node ID 4f321e3844e008bb4dcabb0ff4ec5c0e8ad7c1f7 # Parent 0efa227aec2d05c47b65d5893c732c1bb222b887 (flymake-errline, flymake-warnline): Use more suitable colors on dark displays. diff -r 0efa227aec2d -r 4f321e3844e0 lisp/progmodes/flymake.el --- 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)