diff options
| author | Richard M. Stallman | 1994-10-10 03:26:28 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-10-10 03:26:28 +0000 |
| commit | 33481b1aec23139ca2e69022331213930155496c (patch) | |
| tree | a9dd24f6cf99c40b913690d60ea307b5e0fbe414 | |
| parent | 29aec366761a8142c77a950e08639fb6ab940708 (diff) | |
| download | emacs-33481b1aec23139ca2e69022331213930155496c.tar.gz emacs-33481b1aec23139ca2e69022331213930155496c.zip | |
(calendar-holiday-marker): Copy holiday-face from highlight face.
| -rw-r--r-- | lisp/calendar/calendar.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el index 7d9550d3dc4..07e4ca52c72 100644 --- a/lisp/calendar/calendar.el +++ b/lisp/calendar/calendar.el | |||
| @@ -167,9 +167,8 @@ Can be either a single-character string or a face.") | |||
| 167 | (require 'faces) | 167 | (require 'faces) |
| 168 | (make-face 'holiday-face) | 168 | (make-face 'holiday-face) |
| 169 | (if (x-display-color-p) | 169 | (if (x-display-color-p) |
| 170 | (set-face-background 'holiday-face "pink") | 170 | (set-face-background 'holiday-face "pink") |
| 171 | (set-face-background 'holiday-face "black") | 171 | (copy-face 'highlight 'holiday-face)) |
| 172 | (set-face-foreground 'holiday-face "white")) | ||
| 173 | 'holiday-face) | 172 | 'holiday-face) |
| 174 | "*Used to mark notable dates in the calendar. | 173 | "*Used to mark notable dates in the calendar. |
| 175 | Can be either a single-character string or a face.") | 174 | Can be either a single-character string or a face.") |