diff options
| author | Glenn Morris | 2008-03-09 19:21:47 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-03-09 19:21:47 +0000 |
| commit | d8cc31619f22516e9dc1a5bb9855891b0d4fa461 (patch) | |
| tree | 60d9b49e9c01525f92a2ba78dff3655ead132b12 | |
| parent | 96f22160634694d3d11e48adf42a55b4b714cea5 (diff) | |
| download | emacs-d8cc31619f22516e9dc1a5bb9855891b0d4fa461.tar.gz emacs-d8cc31619f22516e9dc1a5bb9855891b0d4fa461.zip | |
(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.
| -rw-r--r-- | lisp/ChangeLog | 10 | ||||
| -rw-r--r-- | lisp/calendar/calendar.el | 14 |
2 files changed, 24 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3bd72d4bc2c..5d1184bc8bb 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -8,6 +8,16 @@ | |||
| 8 | 8 | ||
| 9 | 2008-03-09 Glenn Morris <rgm@gnu.org> | 9 | 2008-03-09 Glenn Morris <rgm@gnu.org> |
| 10 | 10 | ||
| 11 | * calendar/calendar.el (general-holidays, oriental-holidays) | ||
| 12 | (local-holidays, other-holidays, hebrew-holidays-1, hebrew-holidays-2) | ||
| 13 | (hebrew-holidays-3, hebrew-holidays-4, hebrew-holidays) | ||
| 14 | (christian-holidays, islamic-holidays, bahai-holidays, solar-holidays) | ||
| 15 | (calendar-holidays): Restore autoload cookies, because people are | ||
| 16 | used to using these variables without loading calendar.el. | ||
| 17 | |||
| 18 | * calendar/cal-islam.el (diary-islamic-date): Move to end. | ||
| 19 | (date, number): Declare where needed. | ||
| 20 | |||
| 11 | * calendar/diary-lib.el (nongregorian-diary-marking-hook) | 21 | * calendar/diary-lib.el (nongregorian-diary-marking-hook) |
| 12 | (list-sexp-diary-entries): Doc fixes. | 22 | (list-sexp-diary-entries): Doc fixes. |
| 13 | (diary-list-entries): Doc fix. Remove free variable `entry'. | 23 | (diary-list-entries): Doc fix. Remove free variable `entry'. |
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el index ee1463cc4d3..d36f0beb7c0 100644 --- a/lisp/calendar/calendar.el +++ b/lisp/calendar/calendar.el | |||
| @@ -680,6 +680,7 @@ somewhat; setting it to nil makes the diary display faster." | |||
| 680 | :type 'boolean | 680 | :type 'boolean |
| 681 | :group 'calendar) | 681 | :group 'calendar) |
| 682 | 682 | ||
| 683 | ;;;###autoload | ||
| 683 | (defcustom general-holidays | 684 | (defcustom general-holidays |
| 684 | '((holiday-fixed 1 1 "New Year's Day") | 685 | '((holiday-fixed 1 1 "New Year's Day") |
| 685 | (holiday-float 1 1 3 "Martin Luther King Day") | 686 | (holiday-float 1 1 3 "Martin Luther King Day") |
| @@ -705,6 +706,7 @@ See the documentation for `calendar-holidays' for details." | |||
| 705 | ;;;###autoload | 706 | ;;;###autoload |
| 706 | (put 'general-holidays 'risky-local-variable t) | 707 | (put 'general-holidays 'risky-local-variable t) |
| 707 | 708 | ||
| 709 | ;;;###autoload | ||
| 708 | (defcustom oriental-holidays | 710 | (defcustom oriental-holidays |
| 709 | '((if (fboundp 'atan) | 711 | '((if (fboundp 'atan) |
| 710 | (holiday-chinese-new-year))) | 712 | (holiday-chinese-new-year))) |
| @@ -715,6 +717,7 @@ See the documentation for `calendar-holidays' for details." | |||
| 715 | ;;;###autoload | 717 | ;;;###autoload |
| 716 | (put 'oriental-holidays 'risky-local-variable t) | 718 | (put 'oriental-holidays 'risky-local-variable t) |
| 717 | 719 | ||
| 720 | ;;;###autoload | ||
| 718 | (defcustom local-holidays nil | 721 | (defcustom local-holidays nil |
| 719 | "Local holidays. | 722 | "Local holidays. |
| 720 | See the documentation for `calendar-holidays' for details." | 723 | See the documentation for `calendar-holidays' for details." |
| @@ -723,6 +726,7 @@ See the documentation for `calendar-holidays' for details." | |||
| 723 | ;;;###autoload | 726 | ;;;###autoload |
| 724 | (put 'local-holidays 'risky-local-variable t) | 727 | (put 'local-holidays 'risky-local-variable t) |
| 725 | 728 | ||
| 729 | ;;;###autoload | ||
| 726 | (defcustom other-holidays nil | 730 | (defcustom other-holidays nil |
| 727 | "User defined holidays. | 731 | "User defined holidays. |
| 728 | See the documentation for `calendar-holidays' for details." | 732 | See the documentation for `calendar-holidays' for details." |
| @@ -739,6 +743,7 @@ calendar." | |||
| 739 | :type 'boolean | 743 | :type 'boolean |
| 740 | :group 'holidays) | 744 | :group 'holidays) |
| 741 | 745 | ||
| 746 | ;;;###autoload | ||
| 742 | (defvar hebrew-holidays-1 | 747 | (defvar hebrew-holidays-1 |
| 743 | '((holiday-rosh-hashanah-etc) | 748 | '((holiday-rosh-hashanah-etc) |
| 744 | (if all-hebrew-calendar-holidays | 749 | (if all-hebrew-calendar-holidays |
| @@ -758,6 +763,7 @@ calendar." | |||
| 758 | ;;;###autoload | 763 | ;;;###autoload |
| 759 | (put 'hebrew-holidays-1 'risky-local-variable t) | 764 | (put 'hebrew-holidays-1 'risky-local-variable t) |
| 760 | 765 | ||
| 766 | ;;;###autoload | ||
| 761 | (defvar hebrew-holidays-2 | 767 | (defvar hebrew-holidays-2 |
| 762 | '((if all-hebrew-calendar-holidays | 768 | '((if all-hebrew-calendar-holidays |
| 763 | (holiday-hanukkah) | 769 | (holiday-hanukkah) |
| @@ -779,6 +785,7 @@ calendar." | |||
| 779 | ;;;###autoload | 785 | ;;;###autoload |
| 780 | (put 'hebrew-holidays-2 'risky-local-variable t) | 786 | (put 'hebrew-holidays-2 'risky-local-variable t) |
| 781 | 787 | ||
| 788 | ;;;###autoload | ||
| 782 | (defvar hebrew-holidays-3 | 789 | (defvar hebrew-holidays-3 |
| 783 | '((if all-hebrew-calendar-holidays | 790 | '((if all-hebrew-calendar-holidays |
| 784 | (holiday-hebrew | 791 | (holiday-hebrew |
| @@ -811,6 +818,7 @@ calendar." | |||
| 811 | ;;;###autoload | 818 | ;;;###autoload |
| 812 | (put 'hebrew-holidays-3 'risky-local-variable t) | 819 | (put 'hebrew-holidays-3 'risky-local-variable t) |
| 813 | 820 | ||
| 821 | ;;;###autoload | ||
| 814 | (defvar hebrew-holidays-4 | 822 | (defvar hebrew-holidays-4 |
| 815 | '((holiday-passover-etc) | 823 | '((holiday-passover-etc) |
| 816 | (if (and all-hebrew-calendar-holidays | 824 | (if (and all-hebrew-calendar-holidays |
| @@ -829,6 +837,7 @@ calendar." | |||
| 829 | ;;;###autoload | 837 | ;;;###autoload |
| 830 | (put 'hebrew-holidays-4 'risky-local-variable t) | 838 | (put 'hebrew-holidays-4 'risky-local-variable t) |
| 831 | 839 | ||
| 840 | ;;;###autoload | ||
| 832 | (defcustom hebrew-holidays (append hebrew-holidays-1 hebrew-holidays-2 | 841 | (defcustom hebrew-holidays (append hebrew-holidays-1 hebrew-holidays-2 |
| 833 | hebrew-holidays-3 hebrew-holidays-4) | 842 | hebrew-holidays-3 hebrew-holidays-4) |
| 834 | "Jewish holidays. | 843 | "Jewish holidays. |
| @@ -846,6 +855,7 @@ calendar." | |||
| 846 | :type 'boolean | 855 | :type 'boolean |
| 847 | :group 'holidays) | 856 | :group 'holidays) |
| 848 | 857 | ||
| 858 | ;;;###autoload | ||
| 849 | (defcustom christian-holidays | 859 | (defcustom christian-holidays |
| 850 | '((if all-christian-calendar-holidays | 860 | '((if all-christian-calendar-holidays |
| 851 | (holiday-fixed 1 6 "Epiphany")) | 861 | (holiday-fixed 1 6 "Epiphany")) |
| @@ -904,6 +914,7 @@ calendar." | |||
| 904 | :type 'boolean | 914 | :type 'boolean |
| 905 | :group 'holidays) | 915 | :group 'holidays) |
| 906 | 916 | ||
| 917 | ;;;###autoload | ||
| 907 | (defcustom islamic-holidays | 918 | (defcustom islamic-holidays |
| 908 | '((holiday-islamic | 919 | '((holiday-islamic |
| 909 | 1 1 | 920 | 1 1 |
| @@ -946,6 +957,7 @@ calendar." | |||
| 946 | :type 'boolean | 957 | :type 'boolean |
| 947 | :group 'holidays) | 958 | :group 'holidays) |
| 948 | 959 | ||
| 960 | ;;;###autoload | ||
| 949 | (defcustom bahai-holidays | 961 | (defcustom bahai-holidays |
| 950 | '((holiday-fixed | 962 | '((holiday-fixed |
| 951 | 3 21 | 963 | 3 21 |
| @@ -987,6 +999,7 @@ See the documentation for `calendar-holidays' for details." | |||
| 987 | ;;;###autoload | 999 | ;;;###autoload |
| 988 | (put 'bahai-holidays 'risky-local-variable t) | 1000 | (put 'bahai-holidays 'risky-local-variable t) |
| 989 | 1001 | ||
| 1002 | ;;;###autoload | ||
| 990 | (defcustom solar-holidays | 1003 | (defcustom solar-holidays |
| 991 | '((if (fboundp 'atan) | 1004 | '((if (fboundp 'atan) |
| 992 | (solar-equinoxes-solstices)) | 1005 | (solar-equinoxes-solstices)) |
| @@ -1016,6 +1029,7 @@ See the documentation for `calendar-holidays' for details." | |||
| 1016 | ;;;###autoload | 1029 | ;;;###autoload |
| 1017 | (put 'solar-holidays 'risky-local-variable t) | 1030 | (put 'solar-holidays 'risky-local-variable t) |
| 1018 | 1031 | ||
| 1032 | ;;;###autoload | ||
| 1019 | (defcustom calendar-holidays | 1033 | (defcustom calendar-holidays |
| 1020 | (append general-holidays local-holidays other-holidays | 1034 | (append general-holidays local-holidays other-holidays |
| 1021 | christian-holidays hebrew-holidays islamic-holidays | 1035 | christian-holidays hebrew-holidays islamic-holidays |