diff options
author | Glenn Morris <rgm@gnu.org> | 2008-04-08 07:08:24 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2008-04-08 07:08:24 +0000 |
commit | d92bcf94ecd8ab89f561950bd4d9d8f25dbdeaeb (patch) | |
tree | c5d0bcb4e6ba6d9082266fa1cd71b49c2a7104c9 /lisp/calendar/cal-persia.el | |
parent | 0e408f0cc5639f91deaaadb898449dddaf2f15a8 (diff) | |
download | emacs-d92bcf94ecd8ab89f561950bd4d9d8f25dbdeaeb.tar.gz emacs-d92bcf94ecd8ab89f561950bd4d9d8f25dbdeaeb.tar.bz2 emacs-d92bcf94ecd8ab89f561950bd4d9d8f25dbdeaeb.zip |
Replace int-to-string with number-to-string.
Diffstat (limited to 'lisp/calendar/cal-persia.el')
-rw-r--r-- | lisp/calendar/cal-persia.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/calendar/cal-persia.el b/lisp/calendar/cal-persia.el index 3723157a8b0..316ff3a38a8 100644 --- a/lisp/calendar/cal-persia.el +++ b/lisp/calendar/cal-persia.el @@ -152,9 +152,9 @@ Gregorian date Sunday, December 31, 1 BC." (y (calendar-extract-year persian-date)) (m (calendar-extract-month persian-date)) (monthname (aref calendar-persian-month-name-array (1- m))) - (day (int-to-string (calendar-extract-day persian-date))) - (year (int-to-string y)) - (month (int-to-string m)) + (day (number-to-string (calendar-extract-day persian-date))) + (year (number-to-string y)) + (month (number-to-string m)) dayname) (mapconcat 'eval calendar-date-display-form ""))) @@ -174,7 +174,7 @@ Reads a year, month, and day." (let* ((year (calendar-read "Persian calendar year (not 0): " (lambda (x) (not (zerop x))) - (int-to-string + (number-to-string (calendar-extract-year (calendar-persian-from-absolute (calendar-absolute-from-gregorian |