aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/diff-mode.el24
2 files changed, 17 insertions, 12 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6216d18c2a6..ed2fc8561ca 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12004-05-02 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * diff-mode.el (diff-header-face, diff-file-header-face):
4 Use min-colors.
5
12004-05-02 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de> 62004-05-02 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
2 7
3 * textmodes/bibtex.el (bibtex-sort-buffer): Remove error message. 8 * textmodes/bibtex.el (bibtex-sort-buffer): Remove error message.
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)