diff options
| author | Glenn Morris | 2008-03-25 03:41:27 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-03-25 03:41:27 +0000 |
| commit | 1cdb4ad71a1c580a34b5256b051ddc34060c7c4e (patch) | |
| tree | e037efcc654384c7a04a9bd62d45894c29812544 | |
| parent | 42281b7b6a2f611084c4a52934a3749e687ae391 (diff) | |
| download | emacs-1cdb4ad71a1c580a34b5256b051ddc34060c7c4e.tar.gz emacs-1cdb4ad71a1c580a34b5256b051ddc34060c7c4e.zip | |
(calendar-islamic-read-date): New name for
calendar-islamic-prompt-for-date. Update callers. Doc fix.
| -rw-r--r-- | lisp/calendar/cal-islam.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/calendar/cal-islam.el b/lisp/calendar/cal-islam.el index b862c0db007..e1a6e47ca4b 100644 --- a/lisp/calendar/cal-islam.el +++ b/lisp/calendar/cal-islam.el | |||
| @@ -141,8 +141,9 @@ Driven by the variable `calendar-date-display-form'." | |||
| 141 | (message "Date is pre-Islamic") | 141 | (message "Date is pre-Islamic") |
| 142 | (message "Islamic date (until sunset): %s" i)))) | 142 | (message "Islamic date (until sunset): %s" i)))) |
| 143 | 143 | ||
| 144 | (defun calendar-islamic-prompt-for-date () | 144 | (defun calendar-islamic-read-date () |
| 145 | "Ask for an Islamic date." | 145 | "Interactively read the arguments for an Islamic date command. |
| 146 | Reads a year, month, and day." | ||
| 146 | (let* ((today (calendar-current-date)) | 147 | (let* ((today (calendar-current-date)) |
| 147 | (year (calendar-read | 148 | (year (calendar-read |
| 148 | "Islamic calendar year (>0): " | 149 | "Islamic calendar year (>0): " |
| @@ -168,7 +169,7 @@ Driven by the variable `calendar-date-display-form'." | |||
| 168 | ;;;###cal-autoload | 169 | ;;;###cal-autoload |
| 169 | (defun calendar-goto-islamic-date (date &optional noecho) | 170 | (defun calendar-goto-islamic-date (date &optional noecho) |
| 170 | "Move cursor to Islamic DATE; echo Islamic date unless NOECHO is non-nil." | 171 | "Move cursor to Islamic DATE; echo Islamic date unless NOECHO is non-nil." |
| 171 | (interactive (calendar-islamic-prompt-for-date)) | 172 | (interactive (calendar-islamic-read-date)) |
| 172 | (calendar-goto-date (calendar-gregorian-from-absolute | 173 | (calendar-goto-date (calendar-gregorian-from-absolute |
| 173 | (calendar-absolute-from-islamic date))) | 174 | (calendar-absolute-from-islamic date))) |
| 174 | (or noecho (calendar-print-islamic-date))) | 175 | (or noecho (calendar-print-islamic-date))) |