* doc/emacs/cal-xtra.texi (Holiday Customizing): Fix typo in example.

* lisp/calendar/holidays.el (calendar-holidays): Fix doc typo.
This commit is contained in:
Glenn Morris 2015-08-24 22:13:31 -07:00
parent 1229e61ab8
commit 0db4992d27
2 changed files with 5 additions and 5 deletions

View 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

View 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