changeset 55322:a02bfe4ba7ab

(diff-header-face, diff-file-header-face): Use min-colors.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 02 May 2004 19:24:47 +0000
parents 9f48c93d833a
children 7e20ba796eb0
files lisp/diff-mode.el
diffstat 1 files changed, 12 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/diff-mode.el	Sun May 02 18:55:11 2004 +0000
+++ b/lisp/diff-mode.el	Sun May 02 19:24:47 2004 +0000
@@ -169,27 +169,27 @@
 ;;;;
 
 (defface diff-header-face
-  '((((type tty pc) (class color) (background light))
+  '((((class color) (min-colors 88) (background light))
+     (:background "grey85"))
+    (((class color) (min-colors 88) (background dark))
+     (:background "grey45"))
+    (((class color) (background light))
      (:foreground "blue1" :weight bold))
-    (((type tty pc) (class color) (background dark))
+    (((class color) (background dark))
      (:foreground "green" :weight bold))
-    (((class color) (background light))
-     (:background "grey85"))
-    (((class color) (background dark))
-     (:background "grey45"))
     (t (:weight bold)))
   "`diff-mode' face inherited by hunk and index header faces.")
 (defvar diff-header-face 'diff-header-face)
 
 (defface diff-file-header-face
-  '((((type tty pc) (class color) (background light))
+  '((((class color) (min-colors 88) (background light))
+     (:background "grey70" :weight bold))
+    (((class color) (min-colors 88) (background dark))
+     (:background "grey60" :weight bold))
+    (((class color) (background light))
      (:foreground "yellow" :weight bold))
-    (((type tty pc) (class color) (background dark))
+    (((class color) (background dark))
      (:foreground "cyan" :weight bold))
-    (((class color) (background light))
-     (:background "grey70" :weight bold))
-    (((class color) (background dark))
-     (:background "grey60" :weight bold))
     (t (:weight bold)))			; :height 1.3
   "`diff-mode' face used to highlight file header lines.")
 (defvar diff-file-header-face 'diff-file-header-face)