emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 0db4992: * doc/emacs/cal-xtra.texi (Holiday Customi


From: Glenn Morris
Subject: [Emacs-diffs] master 0db4992: * doc/emacs/cal-xtra.texi (Holiday Customizing): Fix typo in example.
Date: Tue, 25 Aug 2015 05:13:41 +0000

branch: master
commit 0db4992d2778a2da4dee8ca07cde8c5e206f5250
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    * doc/emacs/cal-xtra.texi (Holiday Customizing): Fix typo in example.
    
    * lisp/calendar/holidays.el (calendar-holidays): Fix doc typo.
---
 doc/emacs/cal-xtra.texi   |    6 +++---
 lisp/calendar/holidays.el |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/doc/emacs/cal-xtra.texi b/doc/emacs/cal-xtra.texi
index f271be1..ed85045 100644
--- a/doc/emacs/cal-xtra.texi
+++ b/doc/emacs/cal-xtra.texi
@@ -194,14 +194,14 @@ can do this as follows:
 
   Many holidays occur on a specific day of the week, at a specific time
 of month.  Here is a holiday form describing Hurricane Supplication Day,
-celebrated in the Virgin Islands on the fourth Monday in August:
+celebrated in the Virgin Islands on the fourth Monday in July:
 
 @smallexample
-(holiday-float 8 1 4 "Hurricane Supplication Day")
+(holiday-float 7 1 4 "Hurricane Supplication Day")
 @end smallexample
 
 @noindent
-Here the 8 specifies August, the 1 specifies Monday (Sunday is 0,
+Here the 7 specifies July, the 1 specifies Monday (Sunday is 0,
 Tuesday is 2, and so on), and the 4 specifies the fourth occurrence in
 the month (1 specifies the first occurrence, 2 the second occurrence,
 @minus{}1 the last occurrence, @minus{}2 the second-to-last occurrence, and
diff --git a/lisp/calendar/holidays.el b/lisp/calendar/holidays.el
index 6d7cea6..d282d74 100644
--- a/lisp/calendar/holidays.el
+++ b/lisp/calendar/holidays.el
@@ -267,9 +267,9 @@ For example, to add Bastille Day, celebrated in France on 
July 14, add
      (holiday-fixed 7 14 \"Bastille Day\")
 
 to the list.  To add Hurricane Supplication Day, celebrated in the Virgin
-Islands on the fourth Monday in August, add
+Islands on the fourth Monday in July, add
 
-     (holiday-float 8 1 4 \"Hurricane Supplication Day\")
+     (holiday-float 7 1 4 \"Hurricane Supplication Day\")
 
 to the list (the last Monday would be specified with `-1' instead of `4').
 To add the last day of Hanukkah to the list, use



reply via email to

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