+2015-08-02 Ingo Lohmar <i.lohmar@gmail.com>
+
+ Add option `calendar-weekend-days'
+ * lisp/calendar/calendar.el (calendar-generate-month): New
+ variable calendar-weekend-days to fontify day headers correctly.
+
2015-08-02 Paul Eggert <eggert@cs.ucla.edu>
Substitute some customization etc. doc strings
(calendar-redraw))
:group 'calendar)
+(defcustom calendar-weekend-days '(0 6)
+ "Days of the week considered weekend days.
+0 means Sunday, 1 means Monday, and so on.
+
+Determines which day headers are fontified with
+`calendar-weekend-header'."
+ :type '(repeat integer)
+ :version "25.1"
+ :group 'calendar)
+
(defcustom calendar-view-diary-initially-flag nil
"Non-nil means display current date's diary entries on entry to calendar.
The diary is displayed in another window when the calendar is first displayed,
(insert
(truncate-string-to-width
(propertize (calendar-day-name j 'header t)
- 'font-lock-face (if (memq j '(0 6))
+ 'font-lock-face (if (memq j calendar-weekend-days)
'calendar-weekend-header
'calendar-weekday-header))
calendar-day-header-width nil ?\s)