emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 4e1bdd4: Add new 'calendar-weekend-days' option


From: Ingo Lohmar
Subject: [Emacs-diffs] master 4e1bdd4: Add new 'calendar-weekend-days' option
Date: Mon, 03 Aug 2015 17:08:17 +0000

branch: master
commit 4e1bdd4494ef31c8716a125a86f6d6b8e2555ece
Author: Ingo Lohmar <address@hidden>
Commit: Ingo Lohmar <address@hidden>

    Add new 'calendar-weekend-days' option
    
    Make the days receiving the `calendar-weekend-header' face freely
    customizable, as they differ by region/culture.
    * doc/emacs/calendar.texi: Document the new variable.
    * lisp/calendar/calendar.el (calendar-generate-month): New variable
    calendar-weekend-days to customize day header fontification.
---
 doc/emacs/calendar.texi |    5 ++++-
 etc/NEWS                |    5 +++++
 2 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/doc/emacs/calendar.texi b/doc/emacs/calendar.texi
index 6b21dda..2ab0ff3 100644
--- a/doc/emacs/calendar.texi
+++ b/doc/emacs/calendar.texi
@@ -177,10 +177,13 @@ repeat count indicating how many weeks, months, or years 
to move
 backward or forward.
 
 @vindex calendar-week-start-day
address@hidden calendar-weekend-days
 @cindex weeks, which day they start on
 @cindex calendar, first day of week
   By default, weeks begin on Sunday.  To make them begin on Monday
-instead, set the variable @code{calendar-week-start-day} to 1.
+instead, set the variable @code{calendar-week-start-day} to 1.  To
+change which day headers are highlighted as weekend days, set the
+variable @code{calendar-weekend-days}
 
 @node Specified Dates
 @subsection Specified Dates
diff --git a/etc/NEWS b/etc/NEWS
index e384d17..0a33a6e 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -546,6 +546,11 @@ See `diary-chinese-list-entries' and 
`diary-chinese-mark-entries'.
 *** The option `calendar-mode-line-format' can now be nil,
 which means to do nothing special with the mode line in calendars.
 
++++
+*** New option `calendar-weekend-days'.
+The option customizes which day headers receive the
+`calendar-weekend-header' face.
+
 ---
 *** Many items obsolete since at least version 23.1 have been removed.
 The majority were function/variable/face aliases, too numerous to list here.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]