]> git.eshelyaron.com Git - emacs.git/commitdiff
Add terminal class check to faces in last change.
authorChong Yidong <cyd@stupidchicken.com>
Wed, 23 Jul 2008 22:03:40 +0000 (22:03 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Wed, 23 Jul 2008 22:03:40 +0000 (22:03 +0000)
lisp/progmodes/flymake.el

index 02a73bd4de66dcc0bc6e460c791966fdad0269c6..715ddc2b8275adba839075612c879a4ed697a0ac 100644 (file)
@@ -787,15 +787,15 @@ Return t if it has at least one flymake overlay, nil if no overlay."
     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)