Mercurial > emacs
diff lisp/cedet/semantic/find.el @ 104442:b22b44e953cb
cedet/semantic/chart.el: Don't require semantic/find.
cedet/semantic/complete.el: Don't require semantic/find.
cedet/semantic/decorate.el: Require semantic/tag-file.
(semantic-set-tag-folded-isearch): Require semantic/find.
cedet/semantic/dep.el: Change semantic--dependency-find-file-on-path
into a macro, to avoid compiler warning.
Defvar ede-minor-mode and ede-object.
Declare ede-system-include-path.
cedet/semantic/doc.el: Require semantic/tag-file and semantic/find.
cedet/semantic/edit.el: Require semantic/find and semantic/format.
cedet/semantic/find.el: Defvar semantic-case-fold.
Require semantic.
(semantic-find-tags-external-children-of-type): Require semantic/sort.
(semantic-find-tags-by-scope-protection-default): Require semantic/tag-ls.
cedet/semantic/format.el: Require semantic/tag-ls.
eval-when-compile semantic/find.
(semantic-format-tag-name): Move up to avoid compiler error.
(semantic-format-tag-prototype): Move up to avoid compiler error.
(semantic--format-tag-parent-tree): Require semantic/tag-file.
(semantic-format-tag-short-doc-default): Require semantic/doc.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Mon, 31 Aug 2009 02:16:34 +0000 |
parents | 6810f0d84270 |
children | 2bf481006ba4 |
line wrap: on
line diff
--- a/lisp/cedet/semantic/find.el Mon Aug 31 00:45:41 2009 +0000 +++ b/lisp/cedet/semantic/find.el Mon Aug 31 02:16:34 2009 +0000 @@ -1,4 +1,4 @@ -;;; find.el --- Search routines for Semantic +;;; semantic/find.el --- Search routines for Semantic ;;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009 ;;; Free Software Foundation, Inc. @@ -44,6 +44,7 @@ ;; ;; 4) ... +(require 'semantic) (require 'semantic/tag) ;;; Code: @@ -335,6 +336,8 @@ semantic-tag-class type)) (:override))) +(declare-function semantic-tag-protected-p "semantic/tag-ls") + (defun semantic-find-tags-by-scope-protection-default (scopeprotection parent &optional table) "Find all tags accessable by SCOPEPROTECTION. @@ -348,6 +351,7 @@ (if (not table) (setq table (semantic-tag-type-members parent))) (if (null scopeprotection) table + (require 'semantic/tag-ls) (semantic--find-tags-by-macro (not (semantic-tag-protected-p (car tags) scopeprotection parent)) table))) @@ -389,10 +393,13 @@ ;;; Specialty Searches ;; +(declare-function semantic-tag-external-member-parent "semantic/sort") + (defun semantic-find-tags-external-children-of-type (type &optional table) "Find all tags in whose parent is TYPE in TABLE. These tags are defined outside the scope of the original TYPE declaration. TABLE is a tag table. See `semantic-something-to-tag-table'." + (require 'semantic/sort) (semantic--find-tags-by-macro (equal (semantic-tag-external-member-parent (car tags)) type) @@ -792,4 +799,4 @@ (provide 'semantic/find) -;;; semantic-find.el ends here +;;; semantic/find.el ends here