aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2007-11-11 03:17:40 +0000
committerGlenn Morris2007-11-11 03:17:40 +0000
commitb409ff248a897530ab79e03ef73e7160826e2022 (patch)
tree260a0790377b176f19144199cd2846c8f5e8edbf
parentd5f8ae01473f2e6a4a84b1ebf7f20ec8c58ca27d (diff)
downloademacs-b409ff248a897530ab79e03ef73e7160826e2022.tar.gz
emacs-b409ff248a897530ab79e03ef73e7160826e2022.zip
(Special Diary Entries): Fix Thanksgiving example.
-rw-r--r--man/calendar.texi10
1 files changed, 5 insertions, 5 deletions
diff --git a/man/calendar.texi b/man/calendar.texi
index c111eac354f..e330d6f2f48 100644
--- a/man/calendar.texi
+++ b/man/calendar.texi
@@ -1397,19 +1397,19 @@ nonmarking (with @samp{&}) when possible.
1397specifies a regularly occurring event by offsets specified in days, 1397specifies a regularly occurring event by offsets specified in days,
1398weeks, and months. It is comparable to a crontab entry interpreted by 1398weeks, and months. It is comparable to a crontab entry interpreted by
1399the @code{cron} utility. Here is a nonmarking, floating diary entry 1399the @code{cron} utility. Here is a nonmarking, floating diary entry
1400that applies to the last Thursday in November: 1400that applies to the fourth Thursday in November:
1401 1401
1402@findex diary-float 1402@findex diary-float
1403@example 1403@example
1404&%%(diary-float 11 4 -1) American Thanksgiving 1404&%%(diary-float 11 4 4) American Thanksgiving
1405@end example 1405@end example
1406 1406
1407@noindent 1407@noindent
1408The 11 specifies November (the eleventh month), the 4 specifies Thursday 1408The 11 specifies November (the eleventh month), the 4 specifies Thursday
1409(the fourth day of the week, where Sunday is numbered zero), and the 1409(the fourth day of the week, where Sunday is numbered zero), and the
1410@minus{}1 specifies ``last'' (1 would mean ``first,'' 2 would mean 1410second 4 specifies the fourth Thursday (1 would mean ``first,'' 2 would
1411``second,'' @minus{}2 would mean ``second-to-last,'' and so on). The 1411mean ``second,'' @minus{}2 would mean ``second-to-last,'' and so on).
1412month can be a single month or a list of months. Thus you could change 1412The month can be a single month or a list of months. Thus you could change
1413the 11 above to @samp{'(1 2 3)} and have the entry apply to the last 1413the 11 above to @samp{'(1 2 3)} and have the entry apply to the last
1414Thursday of January, February, and March. If the month is @code{t}, the 1414Thursday of January, February, and March. If the month is @code{t}, the
1415entry applies to all months of the year.@refill 1415entry applies to all months of the year.@refill