changeset 62123:8c992d4395d2

(mark-bahai-diary-entries): Replace `assoc-ignore-case' by `assoc-string'.
author Juanma Barranquero <lekktu@gmail.com>
date Fri, 06 May 2005 19:27:09 +0000
parents 96701ef6c56d
children a6cbe8519406
files lisp/calendar/cal-bahai.el
diffstat 1 files changed, 9 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calendar/cal-bahai.el	Fri May 06 19:26:33 2005 +0000
+++ b/lisp/calendar/cal-bahai.el	Fri May 06 19:27:09 2005 +0000
@@ -375,19 +375,21 @@
                          (string-to-int y-str)))))
             (if dd-name
                 (mark-calendar-days-named
-                 (cdr (assoc-ignore-case (substring dd-name 0 3)
-                                         (calendar-make-alist
-                                          calendar-day-name-array
-                                          0
-                                          '(lambda (x) (substring x 0 3))))))
+                 (cdr (assoc-string (substring dd-name 0 3)
+                                    (calendar-make-alist
+                                     calendar-day-name-array
+                                     0
+                                     '(lambda (x) (substring x 0 3)))
+                                    t)))
               (if mm-name
                   (if (string-equal mm-name "*")
                       (setq mm 0)
                     (setq mm
-                          (cdr (assoc-ignore-case
+                          (cdr (assoc-string
                                 mm-name
                                 (calendar-make-alist
-                                  bahai-calendar-month-name-array))))))
+                                  bahai-calendar-month-name-array)
+                                t)))))
               (mark-bahai-calendar-date-pattern mm dd yy)))))
       (setq d (cdr d)))))