From 0db4992d2778a2da4dee8ca07cde8c5e206f5250 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Mon, 24 Aug 2015 22:13:31 -0700 Subject: [PATCH] * 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 f271be1d226..ed850456c8b 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 6d7cea6b8c5..d282d74392a 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 -- 2.11.4.GIT