]> git.eshelyaron.com Git - emacs.git/commit
Fix Semantic tag discovery when loading of unloaded files is suppressed
authorPo Lu <luangruo@yahoo.com>
Fri, 5 Apr 2024 02:39:33 +0000 (10:39 +0800)
committerEshel Yaron <me@eshelyaron.com>
Fri, 5 Apr 2024 12:12:13 +0000 (14:12 +0200)
commit2bd5772b93b9cb118af43d15d7ea819973354d51
treebaac078042985841457e1c68d6398616acfea919
parentb046a31baf18a9642d9cd890f3ec334e7c2134dc
Fix Semantic tag discovery when loading of unloaded files is suppressed

* lisp/cedet/semantic/db-find.el
(semanticdb-find-tags-by-name-method)
(semanticdb-find-tags-by-name-regexp-method)
(semanticdb-find-tags-for-completion-method)
(semanticdb-find-tags-by-class-method)
(semanticdb-find-tags-external-children-of-type-method)
(semanticdb-find-tags-subclasses-of-type-method)
(semanticdb-deep-find-tags-by-name-method)
(semanticdb-deep-find-tags-by-name-regexp-method)
(semanticdb-deep-find-tags-for-completion-method): Verify that
tags is bound before accessing it; this slot is unbound in
tables created for unloaded files when the `unloaded' throttle
is disabled.

(cherry picked from commit 3968b36ae0641e929426991028b49ce66a15af5f)
lisp/cedet/semantic/db-find.el