/[emacs]/emacs/lisp/diff-mode.el
ViewVC logotype

Diff of /emacs/lisp/diff-mode.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.43 by monnier, Mon Nov 26 00:20:41 2001 UTC revision 1.44 by rms, Mon Dec 31 20:23:08 2001 UTC
# Line 173  when editing big diffs)." Line 173  when editing big diffs)."
173    
174  (defface diff-header-face  (defface diff-header-face
175    '((((type tty pc) (class color) (background light))    '((((type tty pc) (class color) (background light))
176       (:foreground "blue1" :bold t))       (:foreground "blue1" :weight bold))
177      (((type tty pc) (class color) (background dark))      (((type tty pc) (class color) (background dark))
178       (:foreground "green" :bold t))       (:foreground "green" :weight bold))
179      (((class color) (background light))      (((class color) (background light))
180       (:background "grey85"))       (:background "grey85"))
181      (((class color) (background dark))      (((class color) (background dark))
182       (:background "grey45"))       (:background "grey45"))
183      (t (:bold t)))      (t (:weight bold)))
184    "`diff-mode' face inherited by hunk and index header faces.")    "`diff-mode' face inherited by hunk and index header faces.")
185  (defvar diff-header-face 'diff-header-face)  (defvar diff-header-face 'diff-header-face)
186    
187  (defface diff-file-header-face  (defface diff-file-header-face
188    '((((type tty pc) (class color) (background light))    '((((type tty pc) (class color) (background light))
189       (:foreground "yellow" :bold t))       (:foreground "yellow" :weight bold))
190      (((type tty pc) (class color) (background dark))      (((type tty pc) (class color) (background dark))
191       (:foreground "cyan" :bold t))       (:foreground "cyan" :weight bold))
192      (((class color) (background light))      (((class color) (background light))
193       (:background "grey70" :bold t))       (:background "grey70" :weight bold))
194      (((class color) (background dark))      (((class color) (background dark))
195       (:background "grey60" :bold t))       (:background "grey60" :weight bold))
196      (t (:bold t)))                      ; :height 1.3      (t (:weight bold)))                 ; :height 1.3
197    "`diff-mode' face used to highlight file header lines.")    "`diff-mode' face used to highlight file header lines.")
198  (defvar diff-file-header-face 'diff-file-header-face)  (defvar diff-file-header-face 'diff-file-header-face)
199    
# Line 219  when editing big diffs)." Line 219  when editing big diffs)."
219    
220  (defface diff-changed-face  (defface diff-changed-face
221    '((((type tty pc) (class color) (background light))    '((((type tty pc) (class color) (background light))
222       (:foreground "magenta" :bold t :italic t))       (:foreground "magenta" :weight bold :slant italic))
223      (((type tty pc) (class color) (background dark))      (((type tty pc) (class color) (background dark))
224       (:foreground "yellow" :bold t :italic t))       (:foreground "yellow" :weight bold :slant italic))
225      (t ()))      (t ()))
226    "`diff-mode' face used to highlight changed lines.")    "`diff-mode' face used to highlight changed lines.")
227  (defvar diff-changed-face 'diff-changed-face)  (defvar diff-changed-face 'diff-changed-face)

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26