From da0752f93768a43bb411955cb27c5438462ec210 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 12 Sep 2013 13:23:48 -0400 Subject: [PATCH] * lisp/cedet/semantic/find.el (semantic-find-first-tag-by-name): Replace obsolete function assoc-ignore-case with assoc-string. --- lisp/cedet/ChangeLog | 5 +++++ lisp/cedet/semantic/find.el | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/lisp/cedet/ChangeLog b/lisp/cedet/ChangeLog index f5528202bb4..6be1c44743a 100644 --- a/lisp/cedet/ChangeLog +++ b/lisp/cedet/ChangeLog @@ -1,3 +1,8 @@ +2013-09-12 Glenn Morris + + * semantic/find.el (semantic-find-first-tag-by-name): + Replace obsolete function assoc-ignore-case with assoc-string. + 2013-09-11 Stefan Monnier * semantic/grammar.el (semantic-grammar-mode): Use define-derived-mode. diff --git a/lisp/cedet/semantic/find.el b/lisp/cedet/semantic/find.el index f660c69ec3d..6670074c0f9 100644 --- a/lisp/cedet/semantic/find.el +++ b/lisp/cedet/semantic/find.el @@ -265,9 +265,9 @@ TABLE is a semantic tags table. See `semantic-something-to-tag-table'." "Find the first tag with NAME in TABLE. NAME is a string. TABLE is a semantic tags table. See `semantic-something-to-tag-table'. -This routine uses `assoc' to quickly find the first matching entry." - (funcall (if semantic-case-fold 'assoc-ignore-case 'assoc) - name (semantic-something-to-tag-table table))) +Respects `semantic-case-fold'." + (assoc-string name (semantic-something-to-tag-table table) + semantic-case-fold)) (defmacro semantic-find-tags-by-name (name &optional table) "Find all tags with NAME in TABLE. -- 2.11.4.GIT