diff options
Diffstat (limited to 'lisp/calendar/holidays.el')
-rw-r--r-- | lisp/calendar/holidays.el | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/lisp/calendar/holidays.el b/lisp/calendar/holidays.el index d4d1e91433..d41f2cf9af 100644 --- a/lisp/calendar/holidays.el +++ b/lisp/calendar/holidays.el @@ -43,6 +43,7 @@ ;;;###autoload (defcustom holiday-general-holidays + (mapcar 'purecopy '((holiday-fixed 1 1 "New Year's Day") (holiday-float 1 1 3 "Martin Luther King Day") (holiday-fixed 2 2 "Groundhog Day") @@ -59,7 +60,7 @@ (holiday-float 10 1 2 "Columbus Day") (holiday-fixed 10 31 "Halloween") (holiday-fixed 11 11 "Veteran's Day") - (holiday-float 11 4 4 "Thanksgiving")) + (holiday-float 11 4 4 "Thanksgiving"))) "General holidays. Default value is for the United States. See the documentation for `calendar-holidays' for details." :type 'sexp @@ -72,6 +73,7 @@ See the documentation for `calendar-holidays' for details." ;;;###autoload (defcustom holiday-oriental-holidays + (mapcar 'purecopy '((holiday-chinese-new-year) (if calendar-chinese-all-holidays-flag (append @@ -82,7 +84,7 @@ See the documentation for `calendar-holidays' for details." (holiday-chinese 8 15 "Mid-Autumn Festival") (holiday-chinese 9 9 "Double Ninth Festival") (holiday-chinese-winter-solstice) - ))) + )))) "Oriental holidays. See the documentation for `calendar-holidays' for details." :version "23.1" ; added more holidays @@ -118,6 +120,7 @@ See the documentation for `calendar-holidays' for details." ;;;###autoload (defvar hebrew-holidays-1 + (mapcar 'purecopy '((holiday-hebrew-rosh-hashanah) (if calendar-hebrew-all-holidays-flag (holiday-julian @@ -131,7 +134,7 @@ See the documentation for `calendar-holidays' for details." (calendar-absolute-from-gregorian (list m 1 y))))) (if (zerop (% (1+ year) 4)) 22 - 21)) "\"Tal Umatar\" (evening)"))) + 21)) "\"Tal Umatar\" (evening)")))) "Component of the old default value of `holiday-hebrew-holidays'.") ;;;###autoload (put 'hebrew-holidays-1 'risky-local-variable t) @@ -139,6 +142,7 @@ See the documentation for `calendar-holidays' for details." ;;;###autoload (defvar hebrew-holidays-2 + (mapcar 'purecopy '((holiday-hebrew-hanukkah) ; respects calendar-hebrew-all-holidays-flag (if calendar-hebrew-all-holidays-flag (holiday-hebrew @@ -152,7 +156,7 @@ See the documentation for `calendar-holidays' for details." 11 10)) "Tzom Teveth")) (if calendar-hebrew-all-holidays-flag - (holiday-hebrew 11 15 "Tu B'Shevat"))) + (holiday-hebrew 11 15 "Tu B'Shevat")))) "Component of the old default value of `holiday-hebrew-holidays'.") ;;;###autoload (put 'hebrew-holidays-2 'risky-local-variable t) @@ -160,6 +164,7 @@ See the documentation for `calendar-holidays' for details." ;;;###autoload (defvar hebrew-holidays-3 + (mapcar 'purecopy '((if calendar-hebrew-all-holidays-flag (holiday-hebrew 11 @@ -185,7 +190,7 @@ See the documentation for `calendar-holidays' for details." (list 11 16 h-year)))))) (day (calendar-extract-day s-s))) day) - "Shabbat Shirah"))) + "Shabbat Shirah")))) "Component of the old default value of `holiday-hebrew-holidays'.") ;;;###autoload (put 'hebrew-holidays-3 'risky-local-variable t) @@ -193,6 +198,7 @@ See the documentation for `calendar-holidays' for details." ;;;###autoload (defvar hebrew-holidays-4 + (mapcar 'purecopy '((holiday-hebrew-passover) (and calendar-hebrew-all-holidays-flag (let* ((m displayed-month) @@ -205,7 +211,7 @@ See the documentation for `calendar-holidays' for details." (= 21 (% year 28))) (holiday-julian 3 26 "Kiddush HaHamah")) (if calendar-hebrew-all-holidays-flag - (holiday-hebrew-tisha-b-av))) + (holiday-hebrew-tisha-b-av)))) "Component of the old default value of `holiday-hebrew-holidays'.") ;;;###autoload (put 'hebrew-holidays-4 'risky-local-variable t) @@ -213,13 +219,14 @@ See the documentation for `calendar-holidays' for details." ;;;###autoload (defcustom holiday-hebrew-holidays + (mapcar 'purecopy '((holiday-hebrew-passover) (holiday-hebrew-rosh-hashanah) (holiday-hebrew-hanukkah) (if calendar-hebrew-all-holidays-flag (append (holiday-hebrew-tisha-b-av) - (holiday-hebrew-misc)))) + (holiday-hebrew-misc))))) "Jewish holidays. See the documentation for `calendar-holidays' for details." :type 'sexp @@ -233,6 +240,7 @@ See the documentation for `calendar-holidays' for details." ;;;###autoload (defcustom holiday-christian-holidays + (mapcar 'purecopy '((holiday-easter-etc) ; respects calendar-christian-all-holidays-flag (holiday-fixed 12 25 "Christmas") (if calendar-christian-all-holidays-flag @@ -241,7 +249,7 @@ See the documentation for `calendar-holidays' for details." (holiday-julian 12 25 "Eastern Orthodox Christmas") (holiday-greek-orthodox-easter) (holiday-fixed 8 15 "Assumption") - (holiday-advent 0 "Advent")))) + (holiday-advent 0 "Advent"))))) "Christian holidays. See the documentation for `calendar-holidays' for details." :type 'sexp @@ -254,6 +262,7 @@ See the documentation for `calendar-holidays' for details." ;;;###autoload (defcustom holiday-islamic-holidays + (mapcar 'purecopy '((holiday-islamic-new-year) (holiday-islamic 9 1 "Ramadan Begins") (if calendar-islamic-all-holidays-flag @@ -264,7 +273,7 @@ See the documentation for `calendar-holidays' for details." (holiday-islamic 8 15 "Shab-e-Bara't") (holiday-islamic 9 27 "Shab-e Qadr") (holiday-islamic 10 1 "Id-al-Fitr") - (holiday-islamic 12 10 "Id-al-Adha")))) + (holiday-islamic 12 10 "Id-al-Adha"))))) "Islamic holidays. See the documentation for `calendar-holidays' for details." :type 'sexp @@ -277,6 +286,7 @@ See the documentation for `calendar-holidays' for details." ;;;###autoload (defcustom holiday-bahai-holidays + (mapcar 'purecopy '((holiday-bahai-new-year) (holiday-bahai-ridvan) ; respects calendar-bahai-all-holidays-flag (holiday-fixed 5 23 "Declaration of the Bab") @@ -287,7 +297,7 @@ See the documentation for `calendar-holidays' for details." (if calendar-bahai-all-holidays-flag (append (holiday-fixed 11 26 "Day of the Covenant") - (holiday-fixed 11 28 "Ascension of `Abdu'l-Baha")))) + (holiday-fixed 11 28 "Ascension of `Abdu'l-Baha"))))) "Baha'i holidays. See the documentation for `calendar-holidays' for details." :type 'sexp @@ -299,6 +309,7 @@ See the documentation for `calendar-holidays' for details." ;;;###autoload (defcustom holiday-solar-holidays + (mapcar 'purecopy '((solar-equinoxes-solstices) (holiday-sexp calendar-daylight-savings-starts (format "Daylight Saving Time Begins %s" @@ -309,7 +320,7 @@ See the documentation for `calendar-holidays' for details." (format "Daylight Saving Time Ends %s" (solar-time-string (/ calendar-daylight-savings-ends-time (float 60)) - calendar-daylight-time-zone-name)))) + calendar-daylight-time-zone-name))))) "Sun-related holidays. See the documentation for `calendar-holidays' for details." :type 'sexp |