# HG changeset patch # User Eli Zaretskii # Date 1085071301 0 # Node ID 48114a286f9ef48ef6922c1171bf647e9dd69e8e # Parent 40bca3f61f9290dd203d5734f9ec3acc941f3f26 (compare-windows-face): Use min-colors instead of checking for tty or pc types. diff -r 40bca3f61f92 -r 48114a286f9e lisp/compare-w.el --- a/lisp/compare-w.el Wed May 19 23:35:22 2004 +0000 +++ b/lisp/compare-w.el Thu May 20 16:41:41 2004 +0000 @@ -1,6 +1,6 @@ ;;; compare-w.el --- compare text between windows for Emacs -;; Copyright (C) 1986, 1989, 1993, 1997, 2003 Free Software Foundation, Inc. +;; Copyright (C) 1986,1989,1993,1997,2003,2004 Free Software Foundation, Inc. ;; Maintainer: FSF ;; Keywords: convenience files @@ -117,12 +117,12 @@ :group 'compare-w) (defface compare-windows-face - '((((type tty pc) (class color)) + '((((class color) (min-colors 88) (background light)) + (:background "paleturquoise")) + (((class color) (min-colors 88) (background dark)) + (:background "paleturquoise4")) + (((class color)) (:background "turquoise3")) - (((class color) (background light)) - (:background "paleturquoise")) - (((class color) (background dark)) - (:background "paleturquoise4")) (t (:underline t))) "Face for highlighting of compare-windows difference regions." :group 'compare-w)