]> git.eshelyaron.com Git - emacs.git/commitdiff
* doc/emacs/cal-xtra.texi (Holiday Customizing): Fix typo in example.
authorGlenn Morris <rgm@gnu.org>
Tue, 25 Aug 2015 05:13:31 +0000 (22:13 -0700)
committerGlenn Morris <rgm@gnu.org>
Tue, 25 Aug 2015 05:13:31 +0000 (22:13 -0700)
* lisp/calendar/holidays.el (calendar-holidays): Fix doc typo.

doc/emacs/cal-xtra.texi
lisp/calendar/holidays.el

index f271be1d226871a8da2a954265902ba921b63ef5..ed850456c8b506bd8014f1e385a8cfe2ea509c41 100644 (file)
@@ -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
index 6d7cea6b8c5e0f2da1163d8aca5a930d49a19a97..d282d74392ad3f6e24e611748c32d9575de6e572 100644 (file)
@@ -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