Replace obsolete function assoc-ignore-case with assoc-string.
2013-09-18 Glenn Morris <rgm@gnu.org>
+ * semantic/find.el (semantic-brute-find-first-tag-by-name):
+ Replace obsolete function assoc-ignore-case with assoc-string.
+
* semantic/complete.el (tooltip-mode, tooltip-frame-parameters)
(tooltip-show): Declare.
"Find a tag NAME within STREAMORBUFFER. NAME is a string.
If SEARCH-PARTS is non-nil, search children of tags.
If SEARCH-INCLUDE was never implemented.
+Respects `semantic-case-fold'.
Use `semantic-find-first-tag-by-name' instead."
(let* ((stream (semantic-something-to-tag-table streamorbuffer))
- (assoc-fun (if semantic-case-fold
- #'assoc-ignore-case
- #'assoc))
- (m (funcall assoc-fun name stream)))
+ (m (assoc-string name stream semantic-case-fold)))
(if m
m
(let ((toklst stream)