diff options
| author | Glenn Morris | 2013-08-06 19:53:49 -0400 |
|---|---|---|
| committer | Glenn Morris | 2013-08-06 19:53:49 -0400 |
| commit | 3b5c03d32b5917f1d14aabeb2bf082a0451ae3da (patch) | |
| tree | 9fbf49a4230dc33c3c41231d5dbd3698f0ac75ea /etc | |
| parent | ec9564383ba1599be3e253d0b6643d392938de41 (diff) | |
| download | emacs-3b5c03d32b5917f1d14aabeb2bf082a0451ae3da.tar.gz emacs-3b5c03d32b5917f1d14aabeb2bf082a0451ae3da.zip | |
calendar.el: Add new faces, and day-header-array
* lisp/calendar/calendar.el (calendar-weekday-header)
(calendar-weekend-header, calendar-month-header): New faces.
(calendar-day-header-construct): New function.
(calendar-day-header-width): Also :set calendar-day-header-array.
(calendar-american-month-header, calendar-european-month-header)
(calendar-iso-month-header): Use calendar- faces.
(calendar-generate-month):
Use calendar-day-header-array for day headers; apply faces to them.
(calendar-mode): Check calendar-font-lock-keywords non-nil.
(calendar-abbrev-construct): Add optional maxlen argument.
(calendar-day-name-array): Doc fix.
(calendar-day-name-array, calendar-abbrev-length)
(calendar-day-abbrev-array):
Also :set calendar-day-header-array, and maybe redraw.
(calendar-day-header-array): New option.
(calendar-font-lock-keywords): Use calendar-day-header-array,
and calendar- faces. Make obsolete.
(calendar-day-name): Add option to use header array.
* etc/NEWS: Mention this.
Fixes: debbugs:15007
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
| @@ -233,6 +233,13 @@ The default separator is changed to allow surrounding spaces around the comma. | |||
| 233 | 233 | ||
| 234 | ** Calendar and Diary | 234 | ** Calendar and Diary |
| 235 | 235 | ||
| 236 | *** New faces: `calendar-weekday-header', `calendar-weekend-header', | ||
| 237 | `calendar-month-header'. | ||
| 238 | |||
| 239 | *** New option `calendar-day-header-array'. | ||
| 240 | |||
| 241 | *** The variable `calendar-font-lock-keywords' is obsolete. | ||
| 242 | |||
| 236 | +++ | 243 | +++ |
| 237 | *** New variable `diary-from-outlook-function', used by the command | 244 | *** New variable `diary-from-outlook-function', used by the command |
| 238 | `diary-from-outlook'. | 245 | `diary-from-outlook'. |