mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
(diff-header-face, diff-file-header-face): Use min-colors.
This commit is contained in:
parent
05fdbeb881
commit
55f2eb7e34
2 changed files with 17 additions and 12 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2004-05-02 Dan Nicolaescu <dann@ics.uci.edu>
|
||||
|
||||
* diff-mode.el (diff-header-face, diff-file-header-face):
|
||||
Use min-colors.
|
||||
|
||||
2004-05-02 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
|
||||
|
||||
* textmodes/bibtex.el (bibtex-sort-buffer): Remove error message.
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue