Mercurial > emacs
comparison lisp/calendar/calendar.el @ 93583:073990831f47
(calendar-holidays): Doc fix.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Thu, 03 Apr 2008 04:41:22 +0000 |
parents | 14c23c86b7aa |
children | 156256220c12 |
comparison
equal
deleted
inserted
replaced
93582:d0caff25b712 | 93583:073990831f47 |
---|---|
1056 | 1056 |
1057 The intention is that (in the US) `local-holidays' be set in | 1057 The intention is that (in the US) `local-holidays' be set in |
1058 site-init.el and `other-holidays' be set by the user. | 1058 site-init.el and `other-holidays' be set by the user. |
1059 | 1059 |
1060 Entries on the list are expressions that return (possibly empty) lists of | 1060 Entries on the list are expressions that return (possibly empty) lists of |
1061 items of the form ((month day year) string) of a holiday in the in the | 1061 items of the form ((month day year) string) of a holiday in the |
1062 three-month period centered around `displayed-month' of `displayed-year'. | 1062 three-month period centered around `displayed-month' of `displayed-year'. |
1063 Several basic functions are provided for this purpose: | 1063 Several basic functions are provided for this purpose: |
1064 | 1064 |
1065 (holiday-fixed MONTH DAY STRING) is a fixed date on the Gregorian calendar | 1065 (holiday-fixed MONTH DAY STRING) is a fixed date on the Gregorian calendar |
1066 (holiday-float MONTH DAYNAME K STRING &optional day) is the Kth DAYNAME in | 1066 (holiday-float MONTH DAYNAME K STRING &optional day) is the Kth DAYNAME in |
1090 to the list (the last Monday would be specified with `-1' instead of `4'). | 1090 to the list (the last Monday would be specified with `-1' instead of `4'). |
1091 To add the last day of Hanukkah to the list, use | 1091 To add the last day of Hanukkah to the list, use |
1092 | 1092 |
1093 (holiday-hebrew 10 2 \"Last day of Hanukkah\") | 1093 (holiday-hebrew 10 2 \"Last day of Hanukkah\") |
1094 | 1094 |
1095 since the Hebrew months are numbered with 1 starting from Nisan, while to | 1095 since the Hebrew months are numbered with 1 starting from Nisan. |
1096 add the Islamic feast celebrating Mohammed's birthday use | 1096 To add the Islamic feast celebrating Mohammed's birthday, use |
1097 | 1097 |
1098 (holiday-islamic 3 12 \"Mohammed's Birthday\") | 1098 (holiday-islamic 3 12 \"Mohammed's Birthday\") |
1099 | 1099 |
1100 since the Islamic months are numbered from 1 starting with Muharram. To | 1100 since the Islamic months are numbered from 1 starting with Muharram. |
1101 add an entry for the Baha'i festival of Ridvan, use | 1101 To add an entry for the Baha'i festival of Ridvan, use |
1102 | 1102 |
1103 (holiday-bahai 2 13 \"Festival of Ridvan\") | 1103 (holiday-bahai 2 13 \"Festival of Ridvan\") |
1104 | 1104 |
1105 since the Baha'i months are numbered from 1 starting with Baha. To | 1105 since the Baha'i months are numbered from 1 starting with Baha. |
1106 add Thomas Jefferson's birthday, April 2, 1743 (Julian), use | 1106 To add Thomas Jefferson's birthday, April 2, 1743 (Julian), use |
1107 | 1107 |
1108 (holiday-julian 4 2 \"Jefferson's Birthday\") | 1108 (holiday-julian 4 2 \"Jefferson's Birthday\") |
1109 | 1109 |
1110 To include a holiday conditionally, use the sexp form or a conditional. For | 1110 To include a holiday conditionally, use the sexp form or a conditional. For |
1111 example, to include American presidential elections, which occur on the first | 1111 example, to include American presidential elections, which occur on the first |