changeset 86031:cbdd5a58ba2b

(Special Diary Entries): Fix Thanksgiving example.
author Glenn Morris <rgm@gnu.org>
date Sun, 11 Nov 2007 03:19:34 +0000
parents 72cbf2612765
children 27514b5a44bc
files doc/emacs/calendar.texi
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/doc/emacs/calendar.texi	Sun Nov 11 00:03:33 2007 +0000
+++ b/doc/emacs/calendar.texi	Sun Nov 11 03:19:34 2007 +0000
@@ -1397,19 +1397,19 @@
 specifies a regularly occurring event by offsets specified in days,
 weeks, and months.  It is comparable to a crontab entry interpreted by
 the @code{cron} utility.  Here is a nonmarking, floating diary entry
-that applies to the last Thursday in November:
+that applies to the fourth Thursday in November:
 
 @findex diary-float
 @example
-&%%(diary-float 11 4 -1) American Thanksgiving
+&%%(diary-float 11 4 4) American Thanksgiving
 @end example
 
 @noindent
 The 11 specifies November (the eleventh month), the 4 specifies Thursday
 (the fourth day of the week, where Sunday is numbered zero), and the
-@minus{}1 specifies ``last'' (1 would mean ``first,'' 2 would mean
-``second,'' @minus{}2 would mean ``second-to-last,'' and so on).  The
-month can be a single month or a list of months.  Thus you could change
+second 4 specifies the fourth Thursday (1 would mean ``first,'' 2 would
+mean ``second,'' @minus{}2 would mean ``second-to-last,'' and so on).
+The month can be a single month or a list of months.  Thus you could change
 the 11 above to @samp{'(1 2 3)} and have the entry apply to the last
 Thursday of January, February, and March.  If the month is @code{t}, the
 entry applies to all months of the year.@refill