diff options
| author | Richard M. Stallman | 1999-01-26 01:30:46 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1999-01-26 01:30:46 +0000 |
| commit | b5394859f200f4bd6c4bc4e7f626c557bdac5a38 (patch) | |
| tree | 85caa7164738c0ea47a984a567bfb13e0ceab0b0 | |
| parent | bf51dce332e700d4832c376759b415c1d5af44fe (diff) | |
| download | emacs-b5394859f200f4bd6c4bc4e7f626c557bdac5a38.tar.gz emacs-b5394859f200f4bd6c4bc4e7f626c557bdac5a38.zip | |
(calendar-goto-julian-date): Use assoc-ignore-case and do not
capitalize when matching month and day names.
| -rw-r--r-- | lisp/calendar/cal-julian.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/calendar/cal-julian.el b/lisp/calendar/cal-julian.el index d151e8c5333..2fd6eda6c71 100644 --- a/lisp/calendar/cal-julian.el +++ b/lisp/calendar/cal-julian.el | |||
| @@ -112,13 +112,12 @@ Driven by the variable `calendar-date-display-form'." | |||
| 112 | today)))))) | 112 | today)))))) |
| 113 | (month-array calendar-month-name-array) | 113 | (month-array calendar-month-name-array) |
| 114 | (completion-ignore-case t) | 114 | (completion-ignore-case t) |
| 115 | (month (cdr (assoc | 115 | (month (cdr (assoc-ignore-case |
| 116 | (capitalize | ||
| 117 | (completing-read | 116 | (completing-read |
| 118 | "Julian calendar month name: " | 117 | "Julian calendar month name: " |
| 119 | (mapcar 'list (append month-array nil)) | 118 | (mapcar 'list (append month-array nil)) |
| 120 | nil t)) | 119 | nil t) |
| 121 | (calendar-make-alist month-array 1 'capitalize)))) | 120 | (calendar-make-alist month-array 1)))) |
| 122 | (last | 121 | (last |
| 123 | (if (and (zerop (% year 4)) (= month 2)) | 122 | (if (and (zerop (% year 4)) (= month 2)) |
| 124 | 29 | 123 | 29 |