From: Chong Yidong Date: Wed, 23 Jul 2008 22:03:40 +0000 (+0000) Subject: Add terminal class check to faces in last change. X-Git-Tag: emacs-pretest-23.0.90~3950 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=928b4203c1322d5c4cc0e76af160bab1b9b739ad;p=emacs.git Add terminal class check to faces in last change. --- diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index 02a73bd4de6..715ddc2b827 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el @@ -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)