Mercurial > emacs
changeset 93184:63a7509590a7
(calendar-islamic-read-date): New name for
calendar-islamic-prompt-for-date. Update callers. Doc fix.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Tue, 25 Mar 2008 03:41:27 +0000 |
parents | 6f66ef366e35 |
children | 5a7437fafea3 |
files | lisp/calendar/cal-islam.el |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/calendar/cal-islam.el Tue Mar 25 03:41:14 2008 +0000 +++ b/lisp/calendar/cal-islam.el Tue Mar 25 03:41:27 2008 +0000 @@ -141,8 +141,9 @@ (message "Date is pre-Islamic") (message "Islamic date (until sunset): %s" i)))) -(defun calendar-islamic-prompt-for-date () - "Ask for an Islamic date." +(defun calendar-islamic-read-date () + "Interactively read the arguments for an Islamic date command. +Reads a year, month, and day." (let* ((today (calendar-current-date)) (year (calendar-read "Islamic calendar year (>0): " @@ -168,7 +169,7 @@ ;;;###cal-autoload (defun calendar-goto-islamic-date (date &optional noecho) "Move cursor to Islamic DATE; echo Islamic date unless NOECHO is non-nil." - (interactive (calendar-islamic-prompt-for-date)) + (interactive (calendar-islamic-read-date)) (calendar-goto-date (calendar-gregorian-from-absolute (calendar-absolute-from-islamic date))) (or noecho (calendar-print-islamic-date)))