diff options
| author | Edward M. Reingold | 1996-03-29 17:47:01 +0000 |
|---|---|---|
| committer | Edward M. Reingold | 1996-03-29 17:47:01 +0000 |
| commit | c21eb13de8bc9853f12aacb57a68fafa76f17e40 (patch) | |
| tree | 59a3f95786edd15ed4efd8d94ea8c9f3dfbcbec1 | |
| parent | 0e41f190ebcc9a8dbf99cb6215fa309a2bae51a2 (diff) | |
| download | emacs-c21eb13de8bc9853f12aacb57a68fafa76f17e40.tar.gz emacs-c21eb13de8bc9853f12aacb57a68fafa76f17e40.zip | |
Add references to Persian calendar.
| -rw-r--r-- | lisp/calendar/cal-menu.el | 6 | ||||
| -rw-r--r-- | lisp/calendar/calendar.el | 21 |
2 files changed, 23 insertions, 4 deletions
diff --git a/lisp/calendar/cal-menu.el b/lisp/calendar/cal-menu.el index 614332526bc..e058857a462 100644 --- a/lisp/calendar/cal-menu.el +++ b/lisp/calendar/cal-menu.el | |||
| @@ -112,6 +112,8 @@ | |||
| 112 | '("Julian Date" . calendar-goto-julian-date)) | 112 | '("Julian Date" . calendar-goto-julian-date)) |
| 113 | (define-key calendar-mode-map [menu-bar goto islamic] | 113 | (define-key calendar-mode-map [menu-bar goto islamic] |
| 114 | '("Islamic Date" . calendar-goto-islamic-date)) | 114 | '("Islamic Date" . calendar-goto-islamic-date)) |
| 115 | (define-key calendar-mode-map [menu-bar goto persian] | ||
| 116 | '("Persian Date" . calendar-goto-persian-date)) | ||
| 115 | (define-key calendar-mode-map [menu-bar goto hebrew] | 117 | (define-key calendar-mode-map [menu-bar goto hebrew] |
| 116 | '("Hebrew Date" . calendar-goto-hebrew-date)) | 118 | '("Hebrew Date" . calendar-goto-hebrew-date)) |
| 117 | (define-key calendar-mode-map [menu-bar goto astro] | 119 | (define-key calendar-mode-map [menu-bar goto astro] |
| @@ -395,7 +397,9 @@ The output is in landscape format, one month to a page." | |||
| 395 | (format "Astronomical (Julian) day number (after noon UTC): %s" | 397 | (format "Astronomical (Julian) day number (after noon UTC): %s" |
| 396 | (calendar-astro-date-string date))) | 398 | (calendar-astro-date-string date))) |
| 397 | (list (format "Hebrew date (before sunset): %s" | 399 | (list (format "Hebrew date (before sunset): %s" |
| 398 | (calendar-hebrew-date-string date)))) | 400 | (calendar-hebrew-date-string date))) |
| 401 | (list (format "Persian date: %s" | ||
| 402 | (calendar-persian-date-string date)))) | ||
| 399 | (let ((i (calendar-islamic-date-string date))) | 403 | (let ((i (calendar-islamic-date-string date))) |
| 400 | (if (not (string-equal i "")) | 404 | (if (not (string-equal i "")) |
| 401 | (list (list (format "Islamic date (before sunset): %s" i))))) | 405 | (list (list (format "Islamic date (before sunset): %s" i))))) |
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el index 58cf6c145a8..bb1710f917d 100644 --- a/lisp/calendar/calendar.el +++ b/lisp/calendar/calendar.el | |||
| @@ -61,6 +61,7 @@ | |||
| 61 | ;; cal-mayan.el Mayan calendars | 61 | ;; cal-mayan.el Mayan calendars |
| 62 | ;; cal-menu.el Menu support | 62 | ;; cal-menu.el Menu support |
| 63 | ;; cal-move.el Movement in the calendar | 63 | ;; cal-move.el Movement in the calendar |
| 64 | ;; cal-persian.el Perisan calendar | ||
| 64 | ;; cal-tex.el Calendars in LaTeX | 65 | ;; cal-tex.el Calendars in LaTeX |
| 65 | ;; cal-x.el X-windows dedicated frame functions | 66 | ;; cal-x.el X-windows dedicated frame functions |
| 66 | ;; diary.el Diary functions | 67 | ;; diary.el Diary functions |
| @@ -335,9 +336,9 @@ causes the diary entry \"Vacation\" to appear from November 1 through November | |||
| 335 | `diary-cyclic', `diary-day-of-year', `diary-iso-date', `diary-french-date', | 336 | `diary-cyclic', `diary-day-of-year', `diary-iso-date', `diary-french-date', |
| 336 | `diary-hebrew-date', `diary-islamic-date', `diary-mayan-date', | 337 | `diary-hebrew-date', `diary-islamic-date', `diary-mayan-date', |
| 337 | `diary-chinese-date', `diary-coptic-date', `diary-ethiopic-date', | 338 | `diary-chinese-date', `diary-coptic-date', `diary-ethiopic-date', |
| 338 | `diary-yahrzeit', `diary-sunrise-sunset', `diary-phases-of-moon', | 339 | `diary-persian-date', `diary-yahrzeit', `diary-sunrise-sunset', |
| 339 | `diary-parasha', `diary-omer', `diary-rosh-hodesh', and | 340 | `diary-phases-of-moon', `diary-parasha', `diary-omer', `diary-rosh-hodesh', |
| 340 | `diary-sabbath-candles'. See the documentation for the function | 341 | and `diary-sabbath-candles'. See the documentation for the function |
| 341 | `list-sexp-diary-entries' for more details. | 342 | `list-sexp-diary-entries' for more details. |
| 342 | 343 | ||
| 343 | Diary entries based on the Hebrew and/or the Islamic calendar are also | 344 | Diary entries based on the Hebrew and/or the Islamic calendar are also |
| @@ -1393,6 +1394,18 @@ Driven by the variable `calendar-date-display-form'." | |||
| 1393 | "String of Ethiopic date of Gregorian date." | 1394 | "String of Ethiopic date of Gregorian date." |
| 1394 | t) | 1395 | t) |
| 1395 | 1396 | ||
| 1397 | (autoload 'calendar-goto-persian-date "cal-persian" | ||
| 1398 | "Move cursor to Persian date date." | ||
| 1399 | t) | ||
| 1400 | |||
| 1401 | (autoload 'calendar-print-persian-date "cal-persian" | ||
| 1402 | "Show the Persian date equivalents of date." | ||
| 1403 | t) | ||
| 1404 | |||
| 1405 | (autoload 'calendar-persian-date-string "cal-persian" | ||
| 1406 | "String of Persian date of Gregorian date." | ||
| 1407 | t) | ||
| 1408 | |||
| 1396 | (autoload 'show-all-diary-entries "diary-lib" | 1409 | (autoload 'show-all-diary-entries "diary-lib" |
| 1397 | "Show all of the diary entries in the diary file. | 1410 | "Show all of the diary entries in the diary file. |
| 1398 | This function gets rid of the selective display of the diary file so that | 1411 | This function gets rid of the selective display of the diary file so that |
| @@ -1708,6 +1721,7 @@ the inserted text. Value is always t." | |||
| 1708 | (define-key calendar-mode-map "gC" 'calendar-goto-chinese-date) | 1721 | (define-key calendar-mode-map "gC" 'calendar-goto-chinese-date) |
| 1709 | (define-key calendar-mode-map "gk" 'calendar-goto-coptic-date) | 1722 | (define-key calendar-mode-map "gk" 'calendar-goto-coptic-date) |
| 1710 | (define-key calendar-mode-map "ge" 'calendar-goto-ethiopic-date) | 1723 | (define-key calendar-mode-map "ge" 'calendar-goto-ethiopic-date) |
| 1724 | (define-key calendar-mode-map "gp" 'calendar-goto-persian-date) | ||
| 1711 | (define-key calendar-mode-map "gc" 'calendar-goto-iso-date) | 1725 | (define-key calendar-mode-map "gc" 'calendar-goto-iso-date) |
| 1712 | (define-key calendar-mode-map "gf" 'calendar-goto-french-date) | 1726 | (define-key calendar-mode-map "gf" 'calendar-goto-french-date) |
| 1713 | (define-key calendar-mode-map "gml" 'calendar-goto-mayan-long-count-date) | 1727 | (define-key calendar-mode-map "gml" 'calendar-goto-mayan-long-count-date) |
| @@ -1736,6 +1750,7 @@ the inserted text. Value is always t." | |||
| 1736 | (define-key calendar-mode-map "pC" 'calendar-print-chinese-date) | 1750 | (define-key calendar-mode-map "pC" 'calendar-print-chinese-date) |
| 1737 | (define-key calendar-mode-map "pk" 'calendar-print-coptic-date) | 1751 | (define-key calendar-mode-map "pk" 'calendar-print-coptic-date) |
| 1738 | (define-key calendar-mode-map "pe" 'calendar-print-ethiopic-date) | 1752 | (define-key calendar-mode-map "pe" 'calendar-print-ethiopic-date) |
| 1753 | (define-key calendar-mode-map "pp" 'calendar-print-persian-date) | ||
| 1739 | (define-key calendar-mode-map "pc" 'calendar-print-iso-date) | 1754 | (define-key calendar-mode-map "pc" 'calendar-print-iso-date) |
| 1740 | (define-key calendar-mode-map "pj" 'calendar-print-julian-date) | 1755 | (define-key calendar-mode-map "pj" 'calendar-print-julian-date) |
| 1741 | (define-key calendar-mode-map "pa" 'calendar-print-astro-day-number) | 1756 | (define-key calendar-mode-map "pa" 'calendar-print-astro-day-number) |