aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2001-12-31 20:43:36 +0000
committerRichard M. Stallman2001-12-31 20:43:36 +0000
commit58b64ac7d948b58b5fa0c1b5f7fce04a3f5b2652 (patch)
treeb2db34f78f205eacc4f73e3d6e58b8f0207c5b48
parentfeaf529aceb9551f743ccea8f053383ed35c395e (diff)
downloademacs-58b64ac7d948b58b5fa0c1b5f7fce04a3f5b2652.tar.gz
emacs-58b64ac7d948b58b5fa0c1b5f7fce04a3f5b2652.zip
(various face definitions): Use :weight and :slant.
-rw-r--r--lisp/diff-mode.el20
-rw-r--r--lisp/enriched.el4
-rw-r--r--lisp/info.el12
-rw-r--r--lisp/pcvs-info.el20
-rw-r--r--lisp/progmodes/cperl-mode.el26
-rw-r--r--lisp/progmodes/vhdl-mode.el16
6 files changed, 49 insertions, 49 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)."
173 173
174(defface diff-header-face 174(defface diff-header-face
175 '((((type tty pc) (class color) (background light)) 175 '((((type tty pc) (class color) (background light))
176 (:foreground "blue1" :bold t)) 176 (:foreground "blue1" :weight bold))
177 (((type tty pc) (class color) (background dark)) 177 (((type tty pc) (class color) (background dark))
178 (:foreground "green" :bold t)) 178 (:foreground "green" :weight bold))
179 (((class color) (background light)) 179 (((class color) (background light))
180 (:background "grey85")) 180 (:background "grey85"))
181 (((class color) (background dark)) 181 (((class color) (background dark))
182 (:background "grey45")) 182 (:background "grey45"))
183 (t (:bold t))) 183 (t (:weight bold)))
184 "`diff-mode' face inherited by hunk and index header faces.") 184 "`diff-mode' face inherited by hunk and index header faces.")
185(defvar diff-header-face 'diff-header-face) 185(defvar diff-header-face 'diff-header-face)
186 186
187(defface diff-file-header-face 187(defface diff-file-header-face
188 '((((type tty pc) (class color) (background light)) 188 '((((type tty pc) (class color) (background light))
189 (:foreground "yellow" :bold t)) 189 (:foreground "yellow" :weight bold))
190 (((type tty pc) (class color) (background dark)) 190 (((type tty pc) (class color) (background dark))
191 (:foreground "cyan" :bold t)) 191 (:foreground "cyan" :weight bold))
192 (((class color) (background light)) 192 (((class color) (background light))
193 (:background "grey70" :bold t)) 193 (:background "grey70" :weight bold))
194 (((class color) (background dark)) 194 (((class color) (background dark))
195 (:background "grey60" :bold t)) 195 (:background "grey60" :weight bold))
196 (t (:bold t))) ; :height 1.3 196 (t (:weight bold))) ; :height 1.3
197 "`diff-mode' face used to highlight file header lines.") 197 "`diff-mode' face used to highlight file header lines.")
198(defvar diff-file-header-face 'diff-file-header-face) 198(defvar diff-file-header-face 'diff-file-header-face)
199 199
@@ -219,9 +219,9 @@ when editing big diffs)."
219 219
220(defface diff-changed-face 220(defface diff-changed-face
221 '((((type tty pc) (class color) (background light)) 221 '((((type tty pc) (class color) (background light))
222 (:foreground "magenta" :bold t :italic t)) 222 (:foreground "magenta" :weight bold :slant italic))
223 (((type tty pc) (class color) (background dark)) 223 (((type tty pc) (class color) (background dark))
224 (:foreground "yellow" :bold t :italic t)) 224 (:foreground "yellow" :weight bold :slant italic))
225 (t ())) 225 (t ()))
226 "`diff-mode' face used to highlight changed lines.") 226 "`diff-mode' face used to highlight changed lines.")
227(defvar diff-changed-face 'diff-changed-face) 227(defvar diff-changed-face 'diff-changed-face)
diff --git a/lisp/enriched.el b/lisp/enriched.el
index 6cb7dd782d2..71fc2cd146c 100644
--- a/lisp/enriched.el
+++ b/lisp/enriched.el
@@ -63,7 +63,7 @@
63;; have to be fixed-width. So we just pick one that looks different from the 63;; have to be fixed-width. So we just pick one that looks different from the
64;; default. 64;; default.
65(defface fixed 65(defface fixed
66 '((t (:bold t))) 66 '((t (:weight bold)))
67 "Face used for text that must be shown in fixed width. 67 "Face used for text that must be shown in fixed width.
68Currently, emacs can only display fixed-width fonts, but this may change. 68Currently, emacs can only display fixed-width fonts, but this may change.
69This face is used for text specifically marked as fixed-width, for example 69This face is used for text specifically marked as fixed-width, for example
@@ -71,7 +71,7 @@ in text/enriched files."
71 :group 'enriched) 71 :group 'enriched)
72 72
73(defface excerpt 73(defface excerpt
74 '((t (:italic t))) 74 '((t (:slant italic)))
75 "Face used for text that is an excerpt from another document. 75 "Face used for text that is an excerpt from another document.
76This is used in Enriched mode for text explicitly marked as an excerpt." 76This is used in Enriched mode for text explicitly marked as an excerpt."
77 :group 'enriched) 77 :group 'enriched)
diff --git a/lisp/info.el b/lisp/info.el
index 7bbfcd9e79e..9ce5bb7ea44 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -61,9 +61,9 @@ The Lisp code is executed when the node is selected.")
61 :group 'info) 61 :group 'info)
62 62
63(defface info-node 63(defface info-node
64 '((((class color) (background light)) (:foreground "brown" :bold t :italic t)) 64 '((((class color) (background light)) (:foreground "brown" :weight bold :slant italic))
65 (((class color) (background dark)) (:foreground "white" :bold t :italic t)) 65 (((class color) (background dark)) (:foreground "white" :weight bold :slant italic))
66 (t (:bold t :italic t))) 66 (t (:weight bold :slant italic)))
67 "Face for Info node names." 67 "Face for Info node names."
68 :group 'info) 68 :group 'info)
69 69
@@ -74,9 +74,9 @@ The Lisp code is executed when the node is selected.")
74 :group 'info) 74 :group 'info)
75 75
76(defface info-xref 76(defface info-xref
77 '((((class color) (background light)) (:foreground "magenta4" :bold t)) 77 '((((class color) (background light)) (:foreground "magenta4" :weight bold))
78 (((class color) (background dark)) (:foreground "cyan" :bold t)) 78 (((class color) (background dark)) (:foreground "cyan" :weight bold))
79 (t (:bold t))) 79 (t (:weight bold)))
80 "Face for Info cross-references." 80 "Face for Info cross-references."
81 :group 'info) 81 :group 'info)
82 82
diff --git a/lisp/pcvs-info.el b/lisp/pcvs-info.el
index ba172471930..0074e77b2b2 100644
--- a/lisp/pcvs-info.el
+++ b/lisp/pcvs-info.el
@@ -4,7 +4,7 @@
4 4
5;; Author: Stefan Monnier <monnier@cs.yale.edu> 5;; Author: Stefan Monnier <monnier@cs.yale.edu>
6;; Keywords: pcl-cvs 6;; Keywords: pcl-cvs
7;; Revision: $Id: pcvs-info.el,v 1.6 2000/12/18 03:17:31 monnier Exp $ 7;; Revision: $Id: pcvs-info.el,v 1.7 2001/07/16 07:46:48 pj Exp $
8 8
9;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
10 10
@@ -70,10 +70,10 @@ to confuse some users sometimes."
70 70
71(defface cvs-header-face 71(defface cvs-header-face
72 '((((class color) (background dark)) 72 '((((class color) (background dark))
73 (:foreground "lightyellow" :bold t)) 73 (:foreground "lightyellow" :weight bold))
74 (((class color) (background light)) 74 (((class color) (background light))
75 (:foreground "blue4" :bold t)) 75 (:foreground "blue4" :weight bold))
76 (t (:bold t))) 76 (t (:weight bold)))
77 "PCL-CVS face used to highlight directory changes." 77 "PCL-CVS face used to highlight directory changes."
78 :group 'pcl-cvs) 78 :group 'pcl-cvs)
79 79
@@ -91,7 +91,7 @@ to confuse some users sometimes."
91 (:foreground "red")) 91 (:foreground "red"))
92 (((class color) (background light)) 92 (((class color) (background light))
93 (:foreground "red")) 93 (:foreground "red"))
94 (t (:italic t))) 94 (t (:slant italic)))
95 "PCL-CVS face used to highlight unknown file status." 95 "PCL-CVS face used to highlight unknown file status."
96 :group 'pcl-cvs) 96 :group 'pcl-cvs)
97 97
@@ -109,21 +109,21 @@ to confuse some users sometimes."
109 (:foreground "orange")) 109 (:foreground "orange"))
110 (((class color) (background light)) 110 (((class color) (background light))
111 (:foreground "orange")) 111 (:foreground "orange"))
112 (t (:italic t))) 112 (t (:slant italic)))
113 "PCL-CVS face used to highlight status of files needing action." 113 "PCL-CVS face used to highlight status of files needing action."
114 :group 'pcl-cvs) 114 :group 'pcl-cvs)
115 115
116(defface cvs-marked-face 116(defface cvs-marked-face
117 '((((class color) (background dark)) 117 '((((class color) (background dark))
118 (:foreground "green" :bold t)) 118 (:foreground "green" :weight bold))
119 (((class color) (background light)) 119 (((class color) (background light))
120 (:foreground "green3" :bold t)) 120 (:foreground "green3" :weight bold))
121 (t (:bold t))) 121 (t (:weight bold)))
122 "PCL-CVS face used to highlight marked file indicator." 122 "PCL-CVS face used to highlight marked file indicator."
123 :group 'pcl-cvs) 123 :group 'pcl-cvs)
124 124
125(defface cvs-msg-face 125(defface cvs-msg-face
126 '((t (:italic t))) 126 '((t (:slant italic)))
127 "PCL-CVS face used to highlight CVS messages." 127 "PCL-CVS face used to highlight CVS messages."
128 :group 'pcl-cvs) 128 :group 'pcl-cvs)
129 129
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el
index 72dd4928517..156d2f7f18e 100644
--- a/lisp/progmodes/cperl-mode.el
+++ b/lisp/progmodes/cperl-mode.el
@@ -552,40 +552,40 @@ when syntaxifying a chunk of buffer."
552 552
553 (defface cperl-nonoverridable-face 553 (defface cperl-nonoverridable-face
554 `((((class grayscale) (background light)) 554 `((((class grayscale) (background light))
555 (:background "Gray90" :italic t :underline t)) 555 (:background "Gray90" :slant italic :underline t))
556 (((class grayscale) (background dark)) 556 (((class grayscale) (background dark))
557 (:foreground "Gray80" :italic t :underline t :bold t)) 557 (:foreground "Gray80" :slant italic :underline t :weight bold))
558 (((class color) (background light)) 558 (((class color) (background light))
559 (:foreground "chartreuse3")) 559 (:foreground "chartreuse3"))
560 (((class color) (background dark)) 560 (((class color) (background dark))
561 (:foreground ,cperl-dark-foreground)) 561 (:foreground ,cperl-dark-foreground))
562 (t (:bold t :underline t))) 562 (t (:weight bold :underline t)))
563 "Font Lock mode face used to highlight array names." 563 "Font Lock mode face used to highlight array names."
564 :group 'cperl-faces) 564 :group 'cperl-faces)
565 565
566 (defface cperl-array-face 566 (defface cperl-array-face
567 `((((class grayscale) (background light)) 567 `((((class grayscale) (background light))
568 (:background "Gray90" :bold t)) 568 (:background "Gray90" :weight bold))
569 (((class grayscale) (background dark)) 569 (((class grayscale) (background dark))
570 (:foreground "Gray80" :bold t)) 570 (:foreground "Gray80" :weight bold))
571 (((class color) (background light)) 571 (((class color) (background light))
572 (:foreground "Blue" :background "lightyellow2" :bold t)) 572 (:foreground "Blue" :background "lightyellow2" :weight bold))
573 (((class color) (background dark)) 573 (((class color) (background dark))
574 (:foreground "yellow" :background ,cperl-dark-background :bold t)) 574 (:foreground "yellow" :background ,cperl-dark-background :weight bold))
575 (t (:bold t))) 575 (t (:weight bold)))
576 "Font Lock mode face used to highlight array names." 576 "Font Lock mode face used to highlight array names."
577 :group 'cperl-faces) 577 :group 'cperl-faces)
578 578
579 (defface cperl-hash-face 579 (defface cperl-hash-face
580 `((((class grayscale) (background light)) 580 `((((class grayscale) (background light))
581 (:background "Gray90" :bold t :italic t)) 581 (:background "Gray90" :weight bold :slant italic))
582 (((class grayscale) (background dark)) 582 (((class grayscale) (background dark))
583 (:foreground "Gray80" :bold t :italic t)) 583 (:foreground "Gray80" :weight bold :slant italic))
584 (((class color) (background light)) 584 (((class color) (background light))
585 (:foreground "Red" :background "lightyellow2" :bold t :italic t)) 585 (:foreground "Red" :background "lightyellow2" :weight bold :slant italic))
586 (((class color) (background dark)) 586 (((class color) (background dark))
587 (:foreground "Red" :background ,cperl-dark-background :bold t :italic t)) 587 (:foreground "Red" :background ,cperl-dark-background :weight bold :slant italic))
588 (t (:bold t :italic t))) 588 (t (:weight bold :slant italic)))
589 "Font Lock mode face used to highlight hash names." 589 "Font Lock mode face used to highlight hash names."
590 :group 'cperl-faces))) 590 :group 'cperl-faces)))
591 591
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el
index 3cb35c8acd8..e41c9bd58ef 100644
--- a/lisp/progmodes/vhdl-mode.el
+++ b/lisp/progmodes/vhdl-mode.el
@@ -9424,8 +9424,8 @@ This does background highlighting of translate-off regions.")
9424 'vhdl-highlight-faces 'font-lock-variable-name-face 'custom-face) 9424 'vhdl-highlight-faces 'font-lock-variable-name-face 'custom-face)
9425 9425
9426(defface vhdl-font-lock-prompt-face 9426(defface vhdl-font-lock-prompt-face
9427 '((((class color) (background light)) (:foreground "Red" :bold t)) 9427 '((((class color) (background light)) (:foreground "Red" :weight bold))
9428 (((class color) (background dark)) (:foreground "Pink" :bold t)) 9428 (((class color) (background dark)) (:foreground "Pink" :weight bold))
9429 (t (:inverse-video t))) 9429 (t (:inverse-video t)))
9430 "Font lock mode face used to highlight prompts." 9430 "Font lock mode face used to highlight prompts."
9431 :group 'vhdl-highlight-faces 9431 :group 'vhdl-highlight-faces
@@ -9434,7 +9434,7 @@ This does background highlighting of translate-off regions.")
9434(defface vhdl-font-lock-attribute-face 9434(defface vhdl-font-lock-attribute-face
9435 '((((class color) (background light)) (:foreground "Orchid")) 9435 '((((class color) (background light)) (:foreground "Orchid"))
9436 (((class color) (background dark)) (:foreground "LightSteelBlue")) 9436 (((class color) (background dark)) (:foreground "LightSteelBlue"))
9437 (t (:italic t :bold t))) 9437 (t (:slant italic :weight bold)))
9438 "Font lock mode face used to highlight standardized attributes." 9438 "Font lock mode face used to highlight standardized attributes."
9439 :group 'vhdl-highlight-faces 9439 :group 'vhdl-highlight-faces
9440 :group 'font-lock-highlighting-faces) 9440 :group 'font-lock-highlighting-faces)
@@ -9442,7 +9442,7 @@ This does background highlighting of translate-off regions.")
9442(defface vhdl-font-lock-enumvalue-face 9442(defface vhdl-font-lock-enumvalue-face
9443 '((((class color) (background light)) (:foreground "Gold4")) 9443 '((((class color) (background light)) (:foreground "Gold4"))
9444 (((class color) (background dark)) (:foreground "BurlyWood")) 9444 (((class color) (background dark)) (:foreground "BurlyWood"))
9445 (t (:italic t :bold t))) 9445 (t (:slant italic :weight bold)))
9446 "Font lock mode face used to highlight standardized enumeration values." 9446 "Font lock mode face used to highlight standardized enumeration values."
9447 :group 'vhdl-highlight-faces 9447 :group 'vhdl-highlight-faces
9448 :group 'font-lock-highlighting-faces) 9448 :group 'font-lock-highlighting-faces)
@@ -9450,7 +9450,7 @@ This does background highlighting of translate-off regions.")
9450(defface vhdl-font-lock-function-face 9450(defface vhdl-font-lock-function-face
9451 '((((class color) (background light)) (:foreground "Orchid4")) 9451 '((((class color) (background light)) (:foreground "Orchid4"))
9452 (((class color) (background dark)) (:foreground "Orchid1")) 9452 (((class color) (background dark)) (:foreground "Orchid1"))
9453 (t (:italic t :bold t))) 9453 (t (:slant italic :weight bold)))
9454 "Font lock mode face used to highlight standardized functions and packages." 9454 "Font lock mode face used to highlight standardized functions and packages."
9455 :group 'vhdl-highlight-faces 9455 :group 'vhdl-highlight-faces
9456 :group 'font-lock-highlighting-faces) 9456 :group 'font-lock-highlighting-faces)
@@ -9458,14 +9458,14 @@ This does background highlighting of translate-off regions.")
9458(defface vhdl-font-lock-directive-face 9458(defface vhdl-font-lock-directive-face
9459 '((((class color) (background light)) (:foreground "CadetBlue")) 9459 '((((class color) (background light)) (:foreground "CadetBlue"))
9460 (((class color) (background dark)) (:foreground "Aquamarine")) 9460 (((class color) (background dark)) (:foreground "Aquamarine"))
9461 (t (:italic t :bold t))) 9461 (t (:slant italic :weight bold)))
9462 "Font lock mode face used to highlight directives." 9462 "Font lock mode face used to highlight directives."
9463 :group 'vhdl-highlight-faces 9463 :group 'vhdl-highlight-faces
9464 :group 'font-lock-highlighting-faces) 9464 :group 'font-lock-highlighting-faces)
9465 9465
9466(defface vhdl-font-lock-reserved-words-face 9466(defface vhdl-font-lock-reserved-words-face
9467 '((((class color) (background light)) (:foreground "Orange" :bold t)) 9467 '((((class color) (background light)) (:foreground "Orange" :weight bold))
9468 (((class color) (background dark)) (:foreground "Yellow" :bold t)) 9468 (((class color) (background dark)) (:foreground "Yellow" :weight bold))
9469 (t ())) 9469 (t ()))
9470 "Font lock mode face used to highlight additional reserved words." 9470 "Font lock mode face used to highlight additional reserved words."
9471 :group 'vhdl-highlight-faces 9471 :group 'vhdl-highlight-faces