diff options
| author | Glenn Morris | 2013-09-17 22:00:26 -0700 |
|---|---|---|
| committer | Glenn Morris | 2013-09-17 22:00:26 -0700 |
| commit | 74be3de16c3df82ec788bd1da4ea1fccc64f7d8a (patch) | |
| tree | cba151213e89439e5ee97e87881b14de6a91fba9 | |
| parent | 0a9600e02887b2d9b581ae9ae8f2ecba69a973b5 (diff) | |
| download | emacs-74be3de16c3df82ec788bd1da4ea1fccc64f7d8a.tar.gz emacs-74be3de16c3df82ec788bd1da4ea1fccc64f7d8a.zip | |
* semantic/find.el (semantic-brute-find-first-tag-by-name):
Replace obsolete function assoc-ignore-case with assoc-string.
| -rw-r--r-- | lisp/cedet/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/cedet/semantic/find.el | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/lisp/cedet/ChangeLog b/lisp/cedet/ChangeLog index 2a3b53be5db..61d79b16cb0 100644 --- a/lisp/cedet/ChangeLog +++ b/lisp/cedet/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2013-09-18 Glenn Morris <rgm@gnu.org> | 1 | 2013-09-18 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * semantic/find.el (semantic-brute-find-first-tag-by-name): | ||
| 4 | Replace obsolete function assoc-ignore-case with assoc-string. | ||
| 5 | |||
| 3 | * semantic/complete.el (tooltip-mode, tooltip-frame-parameters) | 6 | * semantic/complete.el (tooltip-mode, tooltip-frame-parameters) |
| 4 | (tooltip-show): Declare. | 7 | (tooltip-show): Declare. |
| 5 | 8 | ||
diff --git a/lisp/cedet/semantic/find.el b/lisp/cedet/semantic/find.el index 6670074c0f9..351c6163e2b 100644 --- a/lisp/cedet/semantic/find.el +++ b/lisp/cedet/semantic/find.el | |||
| @@ -457,13 +457,11 @@ TABLE is a tag table. See `semantic-something-to-tag-table'." | |||
| 457 | "Find a tag NAME within STREAMORBUFFER. NAME is a string. | 457 | "Find a tag NAME within STREAMORBUFFER. NAME is a string. |
| 458 | If SEARCH-PARTS is non-nil, search children of tags. | 458 | If SEARCH-PARTS is non-nil, search children of tags. |
| 459 | If SEARCH-INCLUDE was never implemented. | 459 | If SEARCH-INCLUDE was never implemented. |
| 460 | Respects `semantic-case-fold'. | ||
| 460 | 461 | ||
| 461 | Use `semantic-find-first-tag-by-name' instead." | 462 | Use `semantic-find-first-tag-by-name' instead." |
| 462 | (let* ((stream (semantic-something-to-tag-table streamorbuffer)) | 463 | (let* ((stream (semantic-something-to-tag-table streamorbuffer)) |
| 463 | (assoc-fun (if semantic-case-fold | 464 | (m (assoc-string name stream semantic-case-fold))) |
| 464 | #'assoc-ignore-case | ||
| 465 | #'assoc)) | ||
| 466 | (m (funcall assoc-fun name stream))) | ||
| 467 | (if m | 465 | (if m |
| 468 | m | 466 | m |
| 469 | (let ((toklst stream) | 467 | (let ((toklst stream) |