diff options
author | Bastien Guerry <bzg@altern.org> | 2010-08-12 11:03:07 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2010-08-12 11:03:07 +0200 |
commit | 12e4140f5d5ff3cf78c41bd39807917c5635f42c (patch) | |
tree | e12a35d6b8007e7dd34778d4b0598795fed645e0 | |
parent | 0f33e18983f5e73b526eb16e931a29ee632f7ac0 (diff) | |
download | org-mode-12e4140f5d5ff3cf78c41bd39807917c5635f42c.tar.gz |
org-bbdb: Ignore case in anniv class string.
Based on Jambunathan's suggestion:
http://article.gmane.org/gmane.emacs.orgmode/28508
-rw-r--r-- | lisp/org-bbdb.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org-bbdb.el b/lisp/org-bbdb.el index a86091e..53514f7 100644 --- a/lisp/org-bbdb.el +++ b/lisp/org-bbdb.el @@ -322,8 +322,8 @@ This is used by Org to re-create the anniversary hash table." (when rec (let* ((class (or (nth 2 rec) org-bbdb-default-anniversary-format)) - (form (or (cdr (assoc class - org-bbdb-anniversary-format-alist)) + (form (or (cdr (assoc-string + class org-bbdb-anniversary-format-alist t)) class)) ; (as format string) (name (nth 1 rec)) (years (- y (car rec))) |