Commit 2ad9ebbd authored by Glenn Morris's avatar Glenn Morris
Browse files

(calendar-goto-julian-date): Use assoc-string instead of

parent 53d0b6a2
...@@ -115,12 +115,12 @@ Driven by the variable `calendar-date-display-form'." ...@@ -115,12 +115,12 @@ Driven by the variable `calendar-date-display-form'."
today)))))) today))))))
(month-array calendar-month-name-array) (month-array calendar-month-name-array)
(completion-ignore-case t) (completion-ignore-case t)
(month (cdr (assoc-ignore-case (month (cdr (assoc-string
(completing-read (completing-read
"Julian calendar month name: " "Julian calendar month name: "
(mapcar 'list (append month-array nil)) (mapcar 'list (append month-array nil))
nil t) nil t)
(calendar-make-alist month-array 1)))) (calendar-make-alist month-array 1) t)))
(last (last
(if (and (zerop (% year 4)) (= month 2)) (if (and (zerop (% year 4)) (= month 2))
29 29
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment