aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2001-12-31 20:22:27 +0000
committerRichard M. Stallman2001-12-31 20:22:27 +0000
commitb5555381f2fd6872b028b4ef935e39f6f3f2bcc2 (patch)
tree34f08f76c4219827f08d7e334159375ddb2b4426
parent10eb74490311108444afa6c435ac22bb36ba4d51 (diff)
downloademacs-b5555381f2fd6872b028b4ef935e39f6f3f2bcc2.tar.gz
emacs-b5555381f2fd6872b028b4ef935e39f6f3f2bcc2.zip
(custom-face-edit-fix-value): Delete `assert' call.
(various face definitions): Use :weight and :slant.
-rw-r--r--lisp/cus-edit.el39
1 files changed, 19 insertions, 20 deletions
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el
index c78bce11aad..1d411f75bdf 100644
--- a/lisp/cus-edit.el
+++ b/lisp/cus-edit.el
@@ -1485,7 +1485,7 @@ item in another window.\n\n"))
1485(defface custom-invalid-face '((((class color)) 1485(defface custom-invalid-face '((((class color))
1486 (:foreground "yellow" :background "red")) 1486 (:foreground "yellow" :background "red"))
1487 (t 1487 (t
1488 (:bold t :italic t :underline t))) 1488 (:weight bold :slant italic :underline t)))
1489 "Face used when the customize item is invalid." 1489 "Face used when the customize item is invalid."
1490 :group 'custom-magic-faces) 1490 :group 'custom-magic-faces)
1491 1491
@@ -1499,21 +1499,21 @@ item in another window.\n\n"))
1499(defface custom-modified-face '((((class color)) 1499(defface custom-modified-face '((((class color))
1500 (:foreground "white" :background "blue")) 1500 (:foreground "white" :background "blue"))
1501 (t 1501 (t
1502 (:italic t :bold))) 1502 (:slant italic :bold)))
1503 "Face used when the customize item has been modified." 1503 "Face used when the customize item has been modified."
1504 :group 'custom-magic-faces) 1504 :group 'custom-magic-faces)
1505 1505
1506(defface custom-set-face '((((class color)) 1506(defface custom-set-face '((((class color))
1507 (:foreground "blue" :background "white")) 1507 (:foreground "blue" :background "white"))
1508 (t 1508 (t
1509 (:italic t))) 1509 (:slant italic)))
1510 "Face used when the customize item has been set." 1510 "Face used when the customize item has been set."
1511 :group 'custom-magic-faces) 1511 :group 'custom-magic-faces)
1512 1512
1513(defface custom-changed-face '((((class color)) 1513(defface custom-changed-face '((((class color))
1514 (:foreground "white" :background "blue")) 1514 (:foreground "white" :background "blue"))
1515 (t 1515 (t
1516 (:italic t))) 1516 (:slant italic)))
1517 "Face used when the customize item has been changed." 1517 "Face used when the customize item has been changed."
1518 :group 'custom-magic-faces) 1518 :group 'custom-magic-faces)
1519 1519
@@ -1958,7 +1958,7 @@ If INITIAL-STRING is non-nil, use that rather than \"Parent groups:\"."
1958 (background dark)) 1958 (background dark))
1959 (:background "dim gray")) 1959 (:background "dim gray"))
1960 (t 1960 (t
1961 (:italic t))) 1961 (:slant italic)))
1962 "Face used for comments on variables or faces" 1962 "Face used for comments on variables or faces"
1963 :version "21.1" 1963 :version "21.1"
1964 :group 'custom-faces) 1964 :group 'custom-faces)
@@ -1968,10 +1968,10 @@ If INITIAL-STRING is non-nil, use that rather than \"Parent groups:\"."
1968 '((((class color) (background dark)) (:foreground "gray80")) 1968 '((((class color) (background dark)) (:foreground "gray80"))
1969 (((class color) (background light)) (:foreground "blue4")) 1969 (((class color) (background light)) (:foreground "blue4"))
1970 (((class grayscale) (background light)) 1970 (((class grayscale) (background light))
1971 (:foreground "DimGray" :bold t :italic t)) 1971 (:foreground "DimGray" :weight bold :slant italic))
1972 (((class grayscale) (background dark)) 1972 (((class grayscale) (background dark))
1973 (:foreground "LightGray" :bold t :italic t)) 1973 (:foreground "LightGray" :weight bold :slant italic))
1974 (t (:bold t))) 1974 (t (:weight bold)))
1975 "Face used for variables or faces comment tags" 1975 "Face used for variables or faces comment tags"
1976 :group 'custom-faces) 1976 :group 'custom-faces)
1977 1977
@@ -2016,15 +2016,15 @@ If INITIAL-STRING is non-nil, use that rather than \"Parent groups:\"."
2016(defface custom-variable-tag-face 2016(defface custom-variable-tag-face
2017 `((((class color) 2017 `((((class color)
2018 (background dark)) 2018 (background dark))
2019 (:foreground "light blue" :bold t :height 1.2 :inherit variable-pitch)) 2019 (:foreground "light blue" :weight bold :height 1.2 :inherit variable-pitch))
2020 (((class color) 2020 (((class color)
2021 (background light)) 2021 (background light))
2022 (:foreground "blue" :bold t :height 1.2 :inherit variable-pitch)) 2022 (:foreground "blue" :weight bold :height 1.2 :inherit variable-pitch))
2023 (t (:bold t))) 2023 (t (:weight bold)))
2024 "Face used for unpushable variable tags." 2024 "Face used for unpushable variable tags."
2025 :group 'custom-faces) 2025 :group 'custom-faces)
2026 2026
2027(defface custom-variable-button-face '((t (:underline t :bold t))) 2027(defface custom-variable-button-face '((t (:underline t :weight bold)))
2028 "Face used for pushable variable tags." 2028 "Face used for pushable variable tags."
2029 :group 'custom-faces) 2029 :group 'custom-faces)
2030 2030
@@ -2476,7 +2476,6 @@ restoring it to the state of a variable that has never been customized."
2476 "Ignoring WIDGET, convert :bold and :italic in VALUE to new form." 2476 "Ignoring WIDGET, convert :bold and :italic in VALUE to new form."
2477 (let (result) 2477 (let (result)
2478 (while value 2478 (while value
2479 (assert (cdr value))
2480 (let ((key (car value)) 2479 (let ((key (car value))
2481 (val (car (cdr value)))) 2480 (val (car (cdr value))))
2482 (cond ((eq key :italic) 2481 (cond ((eq key :italic)
@@ -2632,7 +2631,7 @@ Match frames with dark backgrounds.")
2632;;; The `custom-face' Widget. 2631;;; The `custom-face' Widget.
2633 2632
2634(defface custom-face-tag-face 2633(defface custom-face-tag-face
2635 `((t (:bold t :height 1.2 :inherit variable-pitch))) 2634 `((t (:weight bold :height 1.2 :inherit variable-pitch)))
2636 "Face used for face tags." 2635 "Face used for face tags."
2637 :group 'custom-faces) 2636 :group 'custom-faces)
2638 2637
@@ -3140,22 +3139,22 @@ and so forth. The remaining group tags are shown with
3140(defface custom-group-tag-face-1 3139(defface custom-group-tag-face-1
3141 `((((class color) 3140 `((((class color)
3142 (background dark)) 3141 (background dark))
3143 (:foreground "pink" :bold t :height 1.2 :inherit variable-pitch)) 3142 (:foreground "pink" :weight bold :height 1.2 :inherit variable-pitch))
3144 (((class color) 3143 (((class color)
3145 (background light)) 3144 (background light))
3146 (:foreground "red" :bold t :height 1.2 :inherit variable-pitch)) 3145 (:foreground "red" :weight bold :height 1.2 :inherit variable-pitch))
3147 (t (:bold t))) 3146 (t (:weight bold)))
3148 "Face used for group tags." 3147 "Face used for group tags."
3149 :group 'custom-faces) 3148 :group 'custom-faces)
3150 3149
3151(defface custom-group-tag-face 3150(defface custom-group-tag-face
3152 `((((class color) 3151 `((((class color)
3153 (background dark)) 3152 (background dark))
3154 (:foreground "light blue" :bold t :height 1.2)) 3153 (:foreground "light blue" :weight bold :height 1.2))
3155 (((class color) 3154 (((class color)
3156 (background light)) 3155 (background light))
3157 (:foreground "blue" :bold t :height 1.2)) 3156 (:foreground "blue" :weight bold :height 1.2))
3158 (t (:bold t))) 3157 (t (:weight bold)))
3159 "Face used for low level group tags." 3158 "Face used for low level group tags."
3160 :group 'custom-faces) 3159 :group 'custom-faces)
3161 3160