]> git.eshelyaron.com Git - emacs.git/commitdiff
(persian-prompt-for-date): Use assoc-ignore-case and do not capitalize
authorRichard M. Stallman <rms@gnu.org>
Tue, 26 Jan 1999 01:27:39 +0000 (01:27 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 26 Jan 1999 01:27:39 +0000 (01:27 +0000)
when matching month and day names.

lisp/calendar/cal-persia.el

index a0be1b186ed443899312435ec685d5bbcbfa89b2..1a92c617fbc6e4a3e08218de762087969618a6b5 100644 (file)
@@ -187,14 +187,13 @@ Echo Persian date unless NOECHO is t."
                    (calendar-absolute-from-gregorian today))))))
          (completion-ignore-case t)
          (month (cdr (assoc
-                      (capitalize
                        (completing-read
                         "Persian calendar month name: "
                         (mapcar 'list
                                 (append persian-calendar-month-name-array nil))
-                        nil t))
+                        nil t)
                       (calendar-make-alist persian-calendar-month-name-array
-                                           1 'capitalize))))
+                                           1))))
          (last (persian-calendar-last-day-of-month month year))
          (day (calendar-read
                (format "Persian calendar day (1-%d): " last)