diff options
author | Glenn Morris <rgm@gnu.org> | 2015-08-24 22:13:31 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2015-08-24 22:13:31 -0700 |
commit | 0db4992d2778a2da4dee8ca07cde8c5e206f5250 (patch) | |
tree | d1d245954fe20db4e63b6e99a74db41dba110c49 | |
parent | 1229e61ab8fe7143fbe7d8a2686a6521627b77a2 (diff) | |
download | emacs-0db4992d2778a2da4dee8ca07cde8c5e206f5250.tar.gz emacs-0db4992d2778a2da4dee8ca07cde8c5e206f5250.tar.bz2 emacs-0db4992d2778a2da4dee8ca07cde8c5e206f5250.zip |
* doc/emacs/cal-xtra.texi (Holiday Customizing): Fix typo in example.
* lisp/calendar/holidays.el (calendar-holidays): Fix doc typo.
-rw-r--r-- | doc/emacs/cal-xtra.texi | 6 | ||||
-rw-r--r-- | 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 |