summaryrefslogtreecommitdiff
path: root/lisp/calendar/cal-islam.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2004-02-19 01:17:44 +0000
committerGlenn Morris <rgm@gnu.org>2004-02-19 01:17:44 +0000
commit53d0b6a2930e78ee8fa35931ddf44e544020a102 (patch)
treea5b77cb52e13e58e16baed6b08026bb9bbab6f81 /lisp/calendar/cal-islam.el
parentabe4091c487cf09f95c85f4c62c1b1f417e02827 (diff)
downloademacs-53d0b6a2930e78ee8fa35931ddf44e544020a102.tar.gz
(calendar-goto-islamic-date, mark-islamic-diary-entries): Use
assoc-string instead of assoc-ignore-case.
Diffstat (limited to 'lisp/calendar/cal-islam.el')
-rw-r--r--lisp/calendar/cal-islam.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/calendar/cal-islam.el b/lisp/calendar/cal-islam.el
index 482b77d74d9..8dcf5c29b1f 100644
--- a/lisp/calendar/cal-islam.el
+++ b/lisp/calendar/cal-islam.el
@@ -154,12 +154,12 @@ Driven by the variable `calendar-date-display-form'."
(calendar-absolute-from-gregorian today))))))
(month-array calendar-islamic-month-name-array)
(completion-ignore-case t)
- (month (cdr (assoc-ignore-case
+ (month (cdr (assoc-string
(completing-read
"Islamic calendar month name: "
(mapcar 'list (append month-array nil))
nil t)
- (calendar-make-alist month-array 1))))
+ (calendar-make-alist month-array 1) t)))
(last (islamic-calendar-last-day-of-month month year))
(day (calendar-read
(format "Islamic calendar day (1-%d): " last)
@@ -372,16 +372,16 @@ provided for use as part of the nongregorian-diary-marking-hook."
(string-to-int y-str)))))
(if dd-name
(mark-calendar-days-named
- (cdr (assoc-ignore-case dd-name
+ (cdr (assoc-string dd-name
(calendar-make-alist
calendar-day-name-array
- 0 nil calendar-day-abbrev-array))))
+ 0 nil calendar-day-abbrev-array) t)))
(if mm-name
(setq mm (if (string-equal mm-name "*") 0
- (cdr (assoc-ignore-case
+ (cdr (assoc-string
mm-name
(calendar-make-alist
- calendar-islamic-month-name-array))))))
+ calendar-islamic-month-name-array) t)))))
(mark-islamic-calendar-date-pattern mm dd yy)))))
(setq d (cdr d)))))