diff options
| author | Miles Bader | 2000-09-20 02:06:45 +0000 |
|---|---|---|
| committer | Miles Bader | 2000-09-20 02:06:45 +0000 |
| commit | 61fb10d04ed3d346dfed7b4e3c260c3c45272a4f (patch) | |
| tree | e8f0be66476221803307f36d608f511e5d3b5119 | |
| parent | 7e99fbde72efb88029432773a966c49f8eff1cef (diff) | |
| download | emacs-61fb10d04ed3d346dfed7b4e3c260c3c45272a4f.tar.gz emacs-61fb10d04ed3d346dfed7b4e3c260c3c45272a4f.zip | |
(custom-face-tag-face, custom-group-tag-face-1)
(custom-group-tag-face, custom-variable-tag-face):
Use relative :height and inherit from `variable-pitch' face instead of
hardwiring :family.
| -rw-r--r-- | lisp/cus-edit.el | 43 |
1 files changed, 7 insertions, 36 deletions
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index ae4277ea098..a88fe81ba58 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el | |||
| @@ -2015,18 +2015,10 @@ If INITIAL-STRING is non-nil, use that rather than \"Parent groups:\"." | |||
| 2015 | (defface custom-variable-tag-face | 2015 | (defface custom-variable-tag-face |
| 2016 | `((((class color) | 2016 | `((((class color) |
| 2017 | (background dark)) | 2017 | (background dark)) |
| 2018 | (:foreground "light blue" :bold t :family "helv" | 2018 | (:foreground "light blue" :bold t :height 1.2 :inherit variable-pitch)) |
| 2019 | :height ,(let ((height (face-attribute 'default :height))) | ||
| 2020 | (if (numberp height) | ||
| 2021 | (floor height 0.9) | ||
| 2022 | height)))) | ||
| 2023 | (((class color) | 2019 | (((class color) |
| 2024 | (background light)) | 2020 | (background light)) |
| 2025 | (:foreground "blue" :family "helv" :bold t | 2021 | (:foreground "blue" :bold t :height 1.2 :inherit variable-pitch)) |
| 2026 | :height ,(let ((height (face-attribute 'default :height))) | ||
| 2027 | (if (numberp height) | ||
| 2028 | (floor height 0.9) | ||
| 2029 | height)))) | ||
| 2030 | (t (:bold t))) | 2022 | (t (:bold t))) |
| 2031 | "Face used for unpushable variable tags." | 2023 | "Face used for unpushable variable tags." |
| 2032 | :group 'custom-faces) | 2024 | :group 'custom-faces) |
| @@ -2548,11 +2540,7 @@ Match frames with dark backgrounds.") | |||
| 2548 | ;;; The `custom-face' Widget. | 2540 | ;;; The `custom-face' Widget. |
| 2549 | 2541 | ||
| 2550 | (defface custom-face-tag-face | 2542 | (defface custom-face-tag-face |
| 2551 | `((t (:bold t :family "helv" | 2543 | `((t (:bold t :height 1.2 :inherit variable-pitch))) |
| 2552 | :height ,(let ((height (face-attribute 'default :height))) | ||
| 2553 | (if (numberp height) | ||
| 2554 | (floor height 0.9) | ||
| 2555 | height))))) | ||
| 2556 | "Face used for face tags." | 2544 | "Face used for face tags." |
| 2557 | :group 'custom-faces) | 2545 | :group 'custom-faces) |
| 2558 | 2546 | ||
| @@ -3007,19 +2995,10 @@ and so forth. The remaining group tags are shown with | |||
| 3007 | (defface custom-group-tag-face-1 | 2995 | (defface custom-group-tag-face-1 |
| 3008 | `((((class color) | 2996 | `((((class color) |
| 3009 | (background dark)) | 2997 | (background dark)) |
| 3010 | (:foreground "pink" :family "helv" | 2998 | (:foreground "pink" :bold t :height 1.2 :inherit variable-pitch)) |
| 3011 | :height ,(let ((height (face-attribute 'default :height))) | ||
| 3012 | (if (numberp height) | ||
| 3013 | (floor height 0.9) | ||
| 3014 | height)) | ||
| 3015 | :bold t)) | ||
| 3016 | (((class color) | 2999 | (((class color) |
| 3017 | (background light)) | 3000 | (background light)) |
| 3018 | (:foreground "red" :bold t | 3001 | (:foreground "red" :bold t :height 1.2 :inherit variable-pitch)) |
| 3019 | :height ,(let ((height (face-attribute 'default :height))) | ||
| 3020 | (if (numberp height) | ||
| 3021 | (floor height 0.9) | ||
| 3022 | height)))) | ||
| 3023 | (t (:bold t))) | 3002 | (t (:bold t))) |
| 3024 | "Face used for group tags." | 3003 | "Face used for group tags." |
| 3025 | :group 'custom-faces) | 3004 | :group 'custom-faces) |
| @@ -3027,18 +3006,10 @@ and so forth. The remaining group tags are shown with | |||
| 3027 | (defface custom-group-tag-face | 3006 | (defface custom-group-tag-face |
| 3028 | `((((class color) | 3007 | `((((class color) |
| 3029 | (background dark)) | 3008 | (background dark)) |
| 3030 | (:foreground "light blue" :bold t | 3009 | (:foreground "light blue" :bold t :height 1.2)) |
| 3031 | :height ,(let ((height (face-attribute 'default :height))) | ||
| 3032 | (if (numberp height) | ||
| 3033 | (floor height 0.9) | ||
| 3034 | height)))) | ||
| 3035 | (((class color) | 3010 | (((class color) |
| 3036 | (background light)) | 3011 | (background light)) |
| 3037 | (:foreground "blue" :bold t | 3012 | (:foreground "blue" :bold t :height 1.2)) |
| 3038 | :height ,(let ((height (face-attribute 'default :height))) | ||
| 3039 | (if (numberp height) | ||
| 3040 | (floor height 0.9) | ||
| 3041 | height)))) | ||
| 3042 | (t (:bold t))) | 3013 | (t (:bold t))) |
| 3043 | "Face used for low level group tags." | 3014 | "Face used for low level group tags." |
| 3044 | :group 'custom-faces) | 3015 | :group 'custom-faces) |