]> git.eshelyaron.com Git - emacs.git/commitdiff
(diary-face, holiday-face): Add dark-background variants.
authorMiles Bader <miles@gnu.org>
Wed, 1 Nov 2000 09:11:58 +0000 (09:11 +0000)
committerMiles Bader <miles@gnu.org>
Wed, 1 Nov 2000 09:11:58 +0000 (09:11 +0000)
lisp/ChangeLog
lisp/calendar/calendar.el

index 29e40f668ee9115d679c7319f89a74ea610a119f..4cd1ba137a3e5a9f087418e55d14bec19909ae5d 100644 (file)
@@ -1,3 +1,8 @@
+2000-11-01  Miles Bader  <miles@lsi.nec.co.jp>
+
+       * calendar/calendar.el (diary-face, holiday-face): Add
+       dark-background variants.
+
 2000-10-31  Sam Steingold  <sds@gnu.org>
 
        * textmodes/tex-mode.el (tex-file): Use `default-directory' when
index c98ecd6d14ccee80341bddd32868fbcc6bca75e9..4eb08e16265aec0cb68976d8a7bba22bad41be79 100644 (file)
@@ -207,9 +207,12 @@ If nil, make an icon of the frame.  If non-nil, delete the frame."
 (when window-system
   (add-to-list 'facemenu-unlisted-faces 'diary-face)
   (defface diary-face
-    '((((class color))
-       (:foreground "red"))
-      (t (:bold t)))
+    '((((class color) (background light))
+       :foreground "red")
+      (((class color) (background dark))
+       :foreground "yellow")
+      (t
+       :bold t))
     "Face for highlighting diary entries."
     :group 'diary)
 
@@ -221,9 +224,12 @@ If nil, make an icon of the frame.  If non-nil, delete the frame."
 
   (add-to-list 'facemenu-unlisted-faces 'holiday-face)
   (defface holiday-face
-    '((((class color))
-       (:background "pink"))
-      (t (:inverse-video t)))
+    '((((class color) (background light))
+       :background "pink")
+      (((class color) (background dark))
+       :background "chocolate4")
+      (t
+       :inverse-video t))
     "Face for indicating dates that have holidays."
     :group 'diary))