changeset 94281:0cbedba0ce0d

(holiday-oriental-holidays): Add more holidays.
author Glenn Morris <rgm@gnu.org>
date Wed, 23 Apr 2008 03:00:29 +0000
parents 746fc66b809d
children 70cc209bf336
files lisp/calendar/holidays.el
diffstat 1 files changed, 12 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calendar/holidays.el	Wed Apr 23 02:59:47 2008 +0000
+++ b/lisp/calendar/holidays.el	Wed Apr 23 03:00:29 2008 +0000
@@ -74,9 +74,20 @@
 
 ;;;###autoload
 (defcustom holiday-oriental-holidays
-  '((holiday-chinese-new-year))
+  '((holiday-chinese-new-year)
+    (if calendar-chinese-all-holidays-flag
+        (append
+         (holiday-chinese 1 15 "Lantern Festival")
+         (holiday-chinese-qingming)
+         (holiday-chinese 5  5 "Dragon Boat Festival")
+         (holiday-chinese 7  7 "Double Seventh Festival")
+         (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
   :type 'sexp
   :group 'holidays)
 ;;;###autoload