aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/diff-mode.el
diff options
context:
space:
mode:
authorStefan Monnier <[email protected]>2004-05-02 19:27:59 +0000
committerStefan Monnier <[email protected]>2004-05-02 19:27:59 +0000
commit55f2eb7e341cbf56388f2d0fadca14e58df93f02 (patch)
treec54dec113684036245ceafcfe2c5a33ef94930be /lisp/diff-mode.el
parent05fdbeb8810288078393d76134b80b52e7873146 (diff)
(diff-header-face, diff-file-header-face): Use min-colors.
Diffstat (limited to 'lisp/diff-mode.el')
-rw-r--r--lisp/diff-mode.el24
1 files changed, 12 insertions, 12 deletions
diff --git a/lisp/diff-mode.el b/lisp/diff-mode.el
index 1760231795..e95ac7422f 100644
--- a/lisp/diff-mode.el
+++ b/lisp/diff-mode.el
@@ -169,27 +169,27 @@ when editing big diffs)."
;;;;
(defface diff-header-face
- '((((type tty pc) (class color) (background light))
- (:foreground "blue1" :weight bold))
- (((type tty pc) (class color) (background dark))
- (:foreground "green" :weight bold))
- (((class color) (background light))
+ '((((class color) (min-colors 88) (background light))
(:background "grey85"))
- (((class color) (background dark))
+ (((class color) (min-colors 88) (background dark))
(:background "grey45"))
+ (((class color) (background light))
+ (:foreground "blue1" :weight bold))
+ (((class color) (background dark))
+ (:foreground "green" :weight bold))
(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))
- (:foreground "yellow" :weight bold))
- (((type tty pc) (class color) (background dark))
- (:foreground "cyan" :weight bold))
- (((class color) (background light))
+ '((((class color) (min-colors 88) (background light))
(:background "grey70" :weight bold))
- (((class color) (background dark))
+ (((class color) (min-colors 88) (background dark))
(:background "grey60" :weight bold))
+ (((class color) (background light))
+ (:foreground "yellow" :weight bold))
+ (((class color) (background dark))
+ (:foreground "cyan" :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)