diff options
| author | Miles Bader | 2000-11-01 09:11:58 +0000 |
|---|---|---|
| committer | Miles Bader | 2000-11-01 09:11:58 +0000 |
| commit | 5bf991004446d1407ad9d8aed615ed0e9374fe55 (patch) | |
| tree | 43f4d855188e06883f2b39d033e6b78af5b5349f | |
| parent | a403261168fe5c6f27f8ca7fcfc65dafc9ca3991 (diff) | |
| download | emacs-5bf991004446d1407ad9d8aed615ed0e9374fe55.tar.gz emacs-5bf991004446d1407ad9d8aed615ed0e9374fe55.zip | |
(diary-face, holiday-face): Add dark-background variants.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/calendar/calendar.el | 18 |
2 files changed, 17 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 29e40f668ee..4cd1ba137a3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2000-11-01 Miles Bader <miles@lsi.nec.co.jp> | ||
| 2 | |||
| 3 | * calendar/calendar.el (diary-face, holiday-face): Add | ||
| 4 | dark-background variants. | ||
| 5 | |||
| 1 | 2000-10-31 Sam Steingold <sds@gnu.org> | 6 | 2000-10-31 Sam Steingold <sds@gnu.org> |
| 2 | 7 | ||
| 3 | * textmodes/tex-mode.el (tex-file): Use `default-directory' when | 8 | * textmodes/tex-mode.el (tex-file): Use `default-directory' when |
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el index c98ecd6d14c..4eb08e16265 100644 --- a/lisp/calendar/calendar.el +++ b/lisp/calendar/calendar.el | |||
| @@ -207,9 +207,12 @@ If nil, make an icon of the frame. If non-nil, delete the frame." | |||
| 207 | (when window-system | 207 | (when window-system |
| 208 | (add-to-list 'facemenu-unlisted-faces 'diary-face) | 208 | (add-to-list 'facemenu-unlisted-faces 'diary-face) |
| 209 | (defface diary-face | 209 | (defface diary-face |
| 210 | '((((class color)) | 210 | '((((class color) (background light)) |
| 211 | (:foreground "red")) | 211 | :foreground "red") |
| 212 | (t (:bold t))) | 212 | (((class color) (background dark)) |
| 213 | :foreground "yellow") | ||
| 214 | (t | ||
| 215 | :bold t)) | ||
| 213 | "Face for highlighting diary entries." | 216 | "Face for highlighting diary entries." |
| 214 | :group 'diary) | 217 | :group 'diary) |
| 215 | 218 | ||
| @@ -221,9 +224,12 @@ If nil, make an icon of the frame. If non-nil, delete the frame." | |||
| 221 | 224 | ||
| 222 | (add-to-list 'facemenu-unlisted-faces 'holiday-face) | 225 | (add-to-list 'facemenu-unlisted-faces 'holiday-face) |
| 223 | (defface holiday-face | 226 | (defface holiday-face |
| 224 | '((((class color)) | 227 | '((((class color) (background light)) |
| 225 | (:background "pink")) | 228 | :background "pink") |
| 226 | (t (:inverse-video t))) | 229 | (((class color) (background dark)) |
| 230 | :background "chocolate4") | ||
| 231 | (t | ||
| 232 | :inverse-video t)) | ||
| 227 | "Face for indicating dates that have holidays." | 233 | "Face for indicating dates that have holidays." |
| 228 | :group 'diary)) | 234 | :group 'diary)) |
| 229 | 235 | ||