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

lisp/calendar/cal-coptic.el

index 718688bf3bff623c51b8f5561d1f57db80356d36..c43478a598a186d34a55a1604d3aa24b39d8c20b 100644 (file)
@@ -151,15 +151,14 @@ Echo Coptic date unless NOECHO is t."
                   (calendar-coptic-from-absolute
                    (calendar-absolute-from-gregorian today))))))
          (completion-ignore-case t)
-         (month (cdr (assoc
-                      (capitalize
-                       (completing-read
-                        (format "%s calendar month name: " coptic-name)
-                        (mapcar 'list
-                                (append coptic-calendar-month-name-array nil))
-                        nil t))
+         (month (cdr (assoc-ignore-case
+                      (completing-read
+                       (format "%s calendar month name: " coptic-name)
+                       (mapcar 'list
+                               (append coptic-calendar-month-name-array nil))
+                       nil t)
                       (calendar-make-alist coptic-calendar-month-name-array
-                                           1 'capitalize))))
+                                           1))))
          (last (coptic-calendar-last-day-of-month month year))
          (day (calendar-read
                (format "%s calendar day (1-%d): " coptic-name last)