2008-03-09 Glenn Morris <rgm@gnu.org>
+ * calendar/calendar.el (general-holidays, oriental-holidays)
+ (local-holidays, other-holidays, hebrew-holidays-1, hebrew-holidays-2)
+ (hebrew-holidays-3, hebrew-holidays-4, hebrew-holidays)
+ (christian-holidays, islamic-holidays, bahai-holidays, solar-holidays)
+ (calendar-holidays): Restore autoload cookies, because people are
+ used to using these variables without loading calendar.el.
+
+ * calendar/cal-islam.el (diary-islamic-date): Move to end.
+ (date, number): Declare where needed.
+
* calendar/diary-lib.el (nongregorian-diary-marking-hook)
(list-sexp-diary-entries): Doc fixes.
(diary-list-entries): Doc fix. Remove free variable `entry'.
:type 'boolean
:group 'calendar)
+;;;###autoload
(defcustom general-holidays
'((holiday-fixed 1 1 "New Year's Day")
(holiday-float 1 1 3 "Martin Luther King Day")
;;;###autoload
(put 'general-holidays 'risky-local-variable t)
+;;;###autoload
(defcustom oriental-holidays
'((if (fboundp 'atan)
(holiday-chinese-new-year)))
;;;###autoload
(put 'oriental-holidays 'risky-local-variable t)
+;;;###autoload
(defcustom local-holidays nil
"Local holidays.
See the documentation for `calendar-holidays' for details."
;;;###autoload
(put 'local-holidays 'risky-local-variable t)
+;;;###autoload
(defcustom other-holidays nil
"User defined holidays.
See the documentation for `calendar-holidays' for details."
:type 'boolean
:group 'holidays)
+;;;###autoload
(defvar hebrew-holidays-1
'((holiday-rosh-hashanah-etc)
(if all-hebrew-calendar-holidays
;;;###autoload
(put 'hebrew-holidays-1 'risky-local-variable t)
+;;;###autoload
(defvar hebrew-holidays-2
'((if all-hebrew-calendar-holidays
(holiday-hanukkah)
;;;###autoload
(put 'hebrew-holidays-2 'risky-local-variable t)
+;;;###autoload
(defvar hebrew-holidays-3
'((if all-hebrew-calendar-holidays
(holiday-hebrew
;;;###autoload
(put 'hebrew-holidays-3 'risky-local-variable t)
+;;;###autoload
(defvar hebrew-holidays-4
'((holiday-passover-etc)
(if (and all-hebrew-calendar-holidays
;;;###autoload
(put 'hebrew-holidays-4 'risky-local-variable t)
+;;;###autoload
(defcustom hebrew-holidays (append hebrew-holidays-1 hebrew-holidays-2
hebrew-holidays-3 hebrew-holidays-4)
"Jewish holidays.
:type 'boolean
:group 'holidays)
+;;;###autoload
(defcustom christian-holidays
'((if all-christian-calendar-holidays
(holiday-fixed 1 6 "Epiphany"))
:type 'boolean
:group 'holidays)
+;;;###autoload
(defcustom islamic-holidays
'((holiday-islamic
1 1
:type 'boolean
:group 'holidays)
+;;;###autoload
(defcustom bahai-holidays
'((holiday-fixed
3 21
;;;###autoload
(put 'bahai-holidays 'risky-local-variable t)
+;;;###autoload
(defcustom solar-holidays
'((if (fboundp 'atan)
(solar-equinoxes-solstices))
;;;###autoload
(put 'solar-holidays 'risky-local-variable t)
+;;;###autoload
(defcustom calendar-holidays
(append general-holidays local-holidays other-holidays
christian-holidays hebrew-holidays islamic-holidays