diff options
author | Richard M. Stallman <rms@gnu.org> | 2001-12-31 20:43:36 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2001-12-31 20:43:36 +0000 |
commit | 58b64ac7d948b58b5fa0c1b5f7fce04a3f5b2652 (patch) | |
tree | b2db34f78f205eacc4f73e3d6e58b8f0207c5b48 /lisp/diff-mode.el | |
parent | feaf529aceb9551f743ccea8f053383ed35c395e (diff) | |
download | emacs-58b64ac7d948b58b5fa0c1b5f7fce04a3f5b2652.tar.gz |
(various face definitions): Use :weight and :slant.
Diffstat (limited to 'lisp/diff-mode.el')
-rw-r--r-- | lisp/diff-mode.el | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lisp/diff-mode.el b/lisp/diff-mode.el index c46d152d97e..14781556c03 100644 --- a/lisp/diff-mode.el +++ b/lisp/diff-mode.el @@ -173,27 +173,27 @@ when editing big diffs)." (defface diff-header-face '((((type tty pc) (class color) (background light)) - (:foreground "blue1" :bold t)) + (:foreground "blue1" :weight bold)) (((type tty pc) (class color) (background dark)) - (:foreground "green" :bold t)) + (:foreground "green" :weight bold)) (((class color) (background light)) (:background "grey85")) (((class color) (background dark)) (:background "grey45")) - (t (:bold t))) + (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" :bold t)) + (:foreground "yellow" :weight bold)) (((type tty pc) (class color) (background dark)) - (:foreground "cyan" :bold t)) + (:foreground "cyan" :weight bold)) (((class color) (background light)) - (:background "grey70" :bold t)) + (:background "grey70" :weight bold)) (((class color) (background dark)) - (:background "grey60" :bold t)) - (t (:bold t))) ; :height 1.3 + (:background "grey60" :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) @@ -219,9 +219,9 @@ when editing big diffs)." (defface diff-changed-face '((((type tty pc) (class color) (background light)) - (:foreground "magenta" :bold t :italic t)) + (:foreground "magenta" :weight bold :slant italic)) (((type tty pc) (class color) (background dark)) - (:foreground "yellow" :bold t :italic t)) + (:foreground "yellow" :weight bold :slant italic)) (t ())) "`diff-mode' face used to highlight changed lines.") (defvar diff-changed-face 'diff-changed-face) |