aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/diff-mode.el
diff options
context:
space:
mode:
authorStefan Monnier2004-05-02 19:27:59 +0000
committerStefan Monnier2004-05-02 19:27:59 +0000
commit55f2eb7e341cbf56388f2d0fadca14e58df93f02 (patch)
treec54dec113684036245ceafcfe2c5a33ef94930be /lisp/diff-mode.el
parent05fdbeb8810288078393d76134b80b52e7873146 (diff)
downloademacs-55f2eb7e341cbf56388f2d0fadca14e58df93f02.tar.gz
emacs-55f2eb7e341cbf56388f2d0fadca14e58df93f02.zip
(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 17602317958..e95ac7422fe 100644
--- a/lisp/diff-mode.el
+++ b/lisp/diff-mode.el
@@ -169,27 +169,27 @@ when editing big diffs)."
169;;;; 169;;;;
170 170
171(defface diff-header-face 171(defface diff-header-face
172 '((((type tty pc) (class color) (background light)) 172 '((((class color) (min-colors 88) (background light))
173 (:foreground "blue1" :weight bold))
174 (((type tty pc) (class color) (background dark))
175 (:foreground "green" :weight bold))
176 (((class color) (background light))
177 (:background "grey85")) 173 (:background "grey85"))
178 (((class color) (background dark)) 174 (((class color) (min-colors 88) (background dark))
179 (:background "grey45")) 175 (:background "grey45"))
176 (((class color) (background light))
177 (:foreground "blue1" :weight bold))
178 (((class color) (background dark))
179 (:foreground "green" :weight bold))
180 (t (:weight bold))) 180 (t (:weight bold)))
181 "`diff-mode' face inherited by hunk and index header faces.") 181 "`diff-mode' face inherited by hunk and index header faces.")
182(defvar diff-header-face 'diff-header-face) 182(defvar diff-header-face 'diff-header-face)
183 183
184(defface diff-file-header-face 184(defface diff-file-header-face
185 '((((type tty pc) (class color) (background light)) 185 '((((class color) (min-colors 88) (background light))
186 (:foreground "yellow" :weight bold))
187 (((type tty pc) (class color) (background dark))
188 (:foreground "cyan" :weight bold))
189 (((class color) (background light))
190 (:background "grey70" :weight bold)) 186 (:background "grey70" :weight bold))
191 (((class color) (background dark)) 187 (((class color) (min-colors 88) (background dark))
192 (:background "grey60" :weight bold)) 188 (:background "grey60" :weight bold))
189 (((class color) (background light))
190 (:foreground "yellow" :weight bold))
191 (((class color) (background dark))
192 (:foreground "cyan" :weight bold))
193 (t (:weight bold))) ; :height 1.3 193 (t (:weight bold))) ; :height 1.3
194 "`diff-mode' face used to highlight file header lines.") 194 "`diff-mode' face used to highlight file header lines.")
195(defvar diff-file-header-face 'diff-file-header-face) 195(defvar diff-file-header-face 'diff-file-header-face)