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

lisp/calendar/cal-julian.el

index d151e8c533322a9a5629c909218923e4cfc0030f..2fd6eda6c7175706fb60e14dfd3bfcd7b762bdc0 100644 (file)
@@ -112,13 +112,12 @@ Driven by the variable `calendar-date-display-form'."
                      today))))))
           (month-array calendar-month-name-array)
           (completion-ignore-case t)
-          (month (cdr (assoc
-                       (capitalize
+          (month (cdr (assoc-ignore-case
                         (completing-read
                          "Julian calendar month name: "
                          (mapcar 'list (append month-array nil))
-                         nil t))
-                       (calendar-make-alist month-array 1 'capitalize))))
+                         nil t)
+                       (calendar-make-alist month-array 1))))
           (last 
            (if (and (zerop (% year 4)) (= month 2))
                29