Mercurial > emacs
changeset 55703:48114a286f9e
(compare-windows-face): Use min-colors instead of
checking for tty or pc types.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Thu, 20 May 2004 16:41:41 +0000 |
parents | 40bca3f61f92 |
children | 9c9741bc4dda |
files | lisp/compare-w.el |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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)