summaryrefslogtreecommitdiff
path: root/lisp/cedet/semantic/util.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-06-14 15:47:54 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-06-14 15:47:54 +0200
commit5b525f4f56f458d88b66be73cae2d1fc5b382db4 (patch)
treefd81f7d294951ad81ff0f0e2120cf0e4ad24f244 /lisp/cedet/semantic/util.el
parent9fac0e70e3f5b7d0b12b77cac50078e01f68ee70 (diff)
downloademacs-5b525f4f56f458d88b66be73cae2d1fc5b382db4.tar.gz
emacs-5b525f4f56f458d88b66be73cae2d1fc5b382db4.tar.bz2
emacs-5b525f4f56f458d88b66be73cae2d1fc5b382db4.zip
Use cl-typep instead of obsolete predicate functions throughout cedet
* lisp/cedet/srecode/dictionary.el (srecode-create-dictionary): (srecode-dictionary-add-entries): (srecode-compound-toString): (srecode-dump): * lisp/cedet/srecode/compile.el (srecode-dump-code-list): * lisp/cedet/semantic/util.el (semantic-something-to-tag-table): * lisp/cedet/semantic/db-typecache.el (semanticdb-typecache-length): * lisp/cedet/semantic/db-ref.el (semanticdb-check-references): * lisp/cedet/semantic/db-find.el (semanticdb-find-incomplete-cache-entries-p): (semanticdb-find-translate-path-includes-default): (semanticdb-find-results-p): (semanticdb-find-result-with-nil-p): * lisp/cedet/semantic/analyze/complete.el (semantic-analyze-possible-completions): Use cl-typep instead of functions like `srecode-dictionary-compound-value-child-p' etc.
Diffstat (limited to 'lisp/cedet/semantic/util.el')
-rw-r--r--lisp/cedet/semantic/util.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/cedet/semantic/util.el b/lisp/cedet/semantic/util.el
index 943f9c78ef0..6b1cc61198c 100644
--- a/lisp/cedet/semantic/util.el
+++ b/lisp/cedet/semantic/util.el
@@ -119,7 +119,7 @@ buffer, or a filename. If SOMETHING is nil return nil."
((and (featurep 'semantic/db)
(require 'semantic/db-mode)
(semanticdb-minor-mode-p)
- (semanticdb-abstract-table-child-p something))
+ (cl-typep something 'semanticdb-abstract-table))
(semanticdb-refresh-table something)
(semanticdb-get-tags something))
;; Semanticdb find-results