Show
Ignore:
Timestamp:
2006年05月13日 11時31分18秒 (3 years ago)
Author:
miyoshi
Message:

Sync up with Emacs CVS HEAD.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lisp/calendar/calendar.el

    r4058 r4079  
    13751375  (car date)) 
    13761376 
     1377;; Note gives wrong answer for result of (calendar-read-date 'noday). 
    13771378(defsubst extract-calendar-day (date) 
    13781379  "Extract the day part of DATE which has the form (month day year)." 
     
    16401641         (month (extract-calendar-month date)) 
    16411642         (year (extract-calendar-year date))) 
     1643    ;; (calendar-read-date t) returns a date with day = nil, which is 
     1644    ;; not a legal date for the visible test in the diary section. 
     1645    (if arg (setcar (cdr date) 1)) 
    16421646    (pop-to-buffer calendar-buffer) 
    16431647    (increment-calendar-month month year (- calendar-offset)) 
     
    16831687 
    16841688(autoload 'calendar-french-date-string "cal-french" 
    1685   "String of French Revolutionary date of Gregorian date." 
    1686   t) 
     1689  "String of French Revolutionary date of Gregorian date.") 
    16871690 
    16881691(autoload 'calendar-mayan-date-string "cal-mayan" 
    1689   "String of Mayan date of Gregorian date." 
    1690   t) 
     1692  "String of Mayan date of Gregorian date.") 
    16911693 
    16921694(autoload 'calendar-print-mayan-date "cal-mayan" 
     
    17311733 
    17321734(autoload 'calendar-chinese-date-string "cal-china" 
    1733   "String of Chinese date of Gregorian date." 
    1734   t) 
     1735  "String of Chinese date of Gregorian date.") 
    17351736 
    17361737(autoload 'calendar-absolute-from-astro  "cal-julian" 
     
    17421743 
    17431744(autoload 'calendar-astro-date-string "cal-julian" 
    1744   "String of astronomical (Julian) day number of Gregorian date." 
    1745   t) 
     1745  "String of astronomical (Julian) day number of Gregorian date.") 
    17461746 
    17471747(autoload 'calendar-goto-astro-day-number "cal-julian" 
     
    17841784 
    17851785(autoload 'calendar-iso-date-string "cal-iso" 
    1786   "String of ISO date of Gregorian date." 
    1787   t) 
     1786  "String of ISO date of Gregorian date.") 
    17881787 
    17891788(autoload 'calendar-goto-islamic-date "cal-islam" 
     
    17961795 
    17971796(autoload 'calendar-islamic-date-string "cal-islam" 
    1798   "String of Islamic date of Gregorian date." 
    1799   t) 
     1797  "String of Islamic date of Gregorian date.") 
    18001798 
    18011799(autoload 'calendar-print-bahai-date "cal-bahai" 
     
    18041802 
    18051803(autoload 'calendar-bahai-date-string "cal-bahai" 
    1806   "String of Baha'i date of Gregorian date." 
    1807   t) 
     1804  "String of Baha'i date of Gregorian date.") 
    18081805 
    18091806(autoload 'calendar-goto-hebrew-date "cal-hebrew" 
     
    18161813 
    18171814(autoload 'calendar-hebrew-date-string "cal-hebrew" 
    1818   "String of Hebrew date of Gregorian date." 
    1819   t) 
     1815  "String of Hebrew date of Gregorian date.") 
    18201816 
    18211817(autoload 'calendar-goto-coptic-date "cal-coptic" 
     
    18281824 
    18291825(autoload 'calendar-coptic-date-string "cal-coptic" 
    1830   "String of Coptic date of Gregorian date." 
    1831   t) 
     1826  "String of Coptic date of Gregorian date.") 
    18321827 
    18331828(autoload 'calendar-goto-ethiopic-date "cal-coptic" 
     
    18401835 
    18411836(autoload 'calendar-ethiopic-date-string "cal-coptic" 
    1842   "String of Ethiopic date of Gregorian date." 
    1843   t) 
     1837  "String of Ethiopic date of Gregorian date.") 
    18441838 
    18451839(autoload 'calendar-goto-persian-date "cal-persia" 
     
    18521846 
    18531847(autoload 'calendar-persian-date-string "cal-persia" 
    1854   "String of Persian date of Gregorian date." 
    1855   t) 
    1856  
    1857 (autoload 'show-all-diary-entries "diary-lib" 
     1848  "String of Persian date of Gregorian date.") 
     1849 
     1850(autoload 'diary-show-all-entries "diary-lib" 
    18581851  "Show all of the diary entries in the diary file. 
    18591852This function gets rid of the selective display of the diary file so that 
     
    18681861 
    18691862(autoload 'make-diary-entry "diary-lib" 
    1870   "Insert a diary entry STRING which may be NONMARKING in FILE." 
    1871   t) 
     1863  "Insert a diary entry STRING which may be NONMARKING in FILE.") 
    18721864 
    18731865(autoload 'insert-diary-entry "diary-lib" 
     
    19541946  "Make a buffer with LaTeX commands for the month cursor is on. 
    19551947Optional prefix argument specifies number of months to be produced. 
    1956 Calendar is condensed onto one page."
     1948Calendar is condensed onto one page." t
    19571949 
    19581950(autoload 'cal-tex-cursor-month-landscape "cal-tex" 
    19591951  "Make a buffer with LaTeX commands for the month cursor is on. 
    1960 Optional prefix argument specifies number of months to be produced."
     1952Optional prefix argument specifies number of months to be produced." t
    19611953 
    19621954(autoload 'cal-tex-cursor-day "cal-tex" 
    1963   "Make a buffer with LaTeX commands for the day cursor is on."
     1955  "Make a buffer with LaTeX commands for the day cursor is on." t
    19641956 
    19651957(autoload 'cal-tex-cursor-week "cal-tex" 
     
    19671959It applies to the week that point is in. 
    19681960Optional prefix argument specifies number of weeks. 
    1969 Holidays are included if `cal-tex-holidays' is t."
     1961Holidays are included if `cal-tex-holidays' is t." t
    19701962 
    19711963(autoload 'cal-tex-cursor-week2 "cal-tex" 
     
    19731965It applies to the week that point is in. 
    19741966Optional prefix argument specifies number of weeks. 
    1975 Holidays are included if `cal-tex-holidays' is t."
     1967Holidays are included if `cal-tex-holidays' is t." t
    19761968 
    19771969(autoload 'cal-tex-cursor-week-iso "cal-tex" 
     
    19791971Optional prefix argument specifies number of weeks. 
    19801972Diary entries are included if `cal-tex-diary' is t. 
    1981 Holidays are included if `cal-tex-holidays' is t."
     1973Holidays are included if `cal-tex-holidays' is t." t
    19821974 
    19831975(autoload 'cal-tex-cursor-week-monday "cal-tex" 
     
    19851977It applies to the week that point is in, and starts on Monday. 
    19861978Optional prefix argument specifies number of weeks. 
    1987 Holidays are included if `cal-tex-holidays' is t."
     1979Holidays are included if `cal-tex-holidays' is t." t
    19881980 
    19891981(autoload 'cal-tex-cursor-filofax-2week "cal-tex" 
     
    19911983Optional prefix argument specifies number of weeks. 
    19921984Diary entries are included if cal-tex-diary is t. 
    1993 Holidays are included if `cal-tex-holidays' is t."
     1985Holidays are included if `cal-tex-holidays' is t." t
    19941986 
    19951987(autoload 'cal-tex-cursor-filofax-week "cal-tex" 
     
    19981990Weeks start on Monday. 
    19991991Diary entries are included if cal-tex-diary is t. 
    2000 Holidays are included if `cal-tex-holidays' is t."
     1992Holidays are included if `cal-tex-holidays' is t." t
    20011993 
    20021994(autoload 'cal-tex-cursor-filofax-daily "cal-tex" 
     
    20041996Optional prefix argument specifies number of weeks.  Weeks start on Monday. 
    20051997Diary entries are included if `cal-tex-diary' is t. 
    2006 Holidays are included if `cal-tex-holidays' is t."
     1998Holidays are included if `cal-tex-holidays' is t." t
    20071999 
    20082000(autoload 'cal-tex-cursor-year "cal-tex" 
    20092001  "Make a buffer with LaTeX commands for a year's calendar. 
    2010 Optional prefix argument specifies number of years."
     2002Optional prefix argument specifies number of years." t
    20112003 
    20122004(autoload 'cal-tex-cursor-year-landscape "cal-tex" 
    20132005  "Make a buffer with LaTeX commands for a year's calendar (landscape). 
    2014 Optional prefix argument specifies number of years."
     2006Optional prefix argument specifies number of years." t
    20152007 
    20162008(autoload 'cal-tex-cursor-filofax-year "cal-tex" 
    20172009  "Make a buffer with LaTeX commands for a year's calendar (Filofax). 
    2018 Optional prefix argument specifies number of years."
     2010Optional prefix argument specifies number of years." t
    20192011 
    20202012(autoload 'mark-calendar-holidays "holidays" 
     
    28982890        (year (extract-calendar-year date))) 
    28992891    (and (<= 1 month) (<= month 12) 
    2900          (<= 1 day) (<= day (calendar-last-day-of-month month year)) 
     2892         ;; (calendar-read-date t) returns a date with day = nil. 
     2893         ;; Should not be valid (?), since many funcs prob assume integer. 
     2894         ;; (calendar-read-date 'noday) returns (month year), which 
     2895         ;; currently results in extract-calendar-year returning nil. 
     2896         day year (<= 1 day) (<= day (calendar-last-day-of-month month year)) 
    29012897         ;; BC dates left as non-valid, to suppress errors from 
    29022898         ;; complex holiday algorithms not suitable for years BC.