Rationalize calendar handling of day and month abbrev-arrays.
authorGlenn Morris <rgm@gnu.org>
Wed, 18 May 2011 03:20:13 +0000 (20:20 -0700)
committerGlenn Morris <rgm@gnu.org>
Wed, 18 May 2011 03:20:13 +0000 (20:20 -0700)
commite565dd3789e0ef5589035034893d99de239c87a2
treeb28b46a59e1bcbce370f4928f7c380566420ad47
parent3c24731f34709a8a3ed11a5546ff6b0c7a958f2a
Rationalize calendar handling of day and month abbrev-arrays.

* lisp/calendar/calendar.el (calendar-customized-p): New function.
(calendar-abbrev-construct, calendar-make-alist): Change what it does.
(calendar-day-name-array, calendar-month-name-array): Doc fix.
Add :set function.
(calendar-abbrev-length, calendar-day-abbrev-array)
(calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
(calendar-day-abbrev-array, calendar-month-abbrev-array):
Elements may no longer be nil.
(calendar-day-name, calendar-month-name):
Update for changed nature of abbrev arrays.
* calendar/diary-lib.el (diary-name-pattern):
Update for changed nature of abbrev arrays.
(diary-mark-entries-1): Update calendar-make-alist calls.
(diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
* calendar/cal-html.el (cal-html-day-abbrev-array):
Simply inherit from calendar-day-abbrev-array.

* etc/NEWS: Mention this.
etc/NEWS
lisp/ChangeLog
lisp/calendar/cal-html.el
lisp/calendar/calendar.el
lisp/calendar/diary-lib.el