summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-04-01 02:43:30 +0000
committerGlenn Morris <rgm@gnu.org>2008-04-01 02:43:30 +0000
commite5e9977663650995435f90e00e4517f49ef55310 (patch)
treedb1e4f6b883bf4fe80354dd8ce140babc3f3a4f5 /lisp
parentb36e906dd003adfb10e0c07cde2e8ba3a282b632 (diff)
downloademacs-e5e9977663650995435f90e00e4517f49ef55310.tar.gz
emacs-e5e9977663650995435f90e00e4517f49ef55310.tar.bz2
emacs-e5e9977663650995435f90e00e4517f49ef55310.zip
(Commentary): Point to calendar.el.
(calendar-persian-date-string): Reduce nesting of some lets.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/calendar/cal-persia.el17
1 files changed, 8 insertions, 9 deletions
diff --git a/lisp/calendar/cal-persia.el b/lisp/calendar/cal-persia.el
index 419286face2..3855a31557e 100644
--- a/lisp/calendar/cal-persia.el
+++ b/lisp/calendar/cal-persia.el
@@ -27,8 +27,7 @@
;;; Commentary:
-;; This collection of functions implements the features of calendar.el and
-;; diary.el that deal with the Persian calendar.
+;; See calendar.el.
;;; Code:
@@ -148,13 +147,13 @@ Gregorian date Sunday, December 31, 1 BC."
(calendar-absolute-from-gregorian
(or date (calendar-current-date)))))
(y (extract-calendar-year persian-date))
- (m (extract-calendar-month persian-date)))
- (let ((monthname (aref persian-calendar-month-name-array (1- m)))
- (day (int-to-string (extract-calendar-day persian-date)))
- (dayname nil)
- (month (int-to-string m))
- (year (int-to-string y)))
- (mapconcat 'eval calendar-date-display-form ""))))
+ (m (extract-calendar-month persian-date))
+ (monthname (aref persian-calendar-month-name-array (1- m)))
+ (day (int-to-string (extract-calendar-day persian-date)))
+ (year (int-to-string y))
+ (month (int-to-string m))
+ dayname)
+ (mapconcat 'eval calendar-date-display-form "")))
;;;###cal-autoload
(defun calendar-print-persian-date ()