changeset 96945:bf970fafde22

Add terminal class check to faces in last change.
author Chong Yidong <cyd@stupidchicken.com>
date Wed, 23 Jul 2008 22:03:40 +0000
parents a34136e0b961
children 097917c3c2c2
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:48 2008 +0000
+++ b/lisp/progmodes/flymake.el	Wed Jul 23 22:03:40 2008 +0000
@@ -787,15 +787,15 @@
     has-flymake-overlays))
 
 (defface flymake-errline
-  '((((background dark)) (:background "Firebrick4"))
-    (((background light)) (: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
-  '((((background dark)) (:background "DarkBlue"))
-    (((background light)) (: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)