changeset 104455:d66016869489

lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym->tag): Require semantic/bovine/el for semantic-elisp-desymbolify. lisp/cedet/semantic/symref.el: Declare external functions. lisp/cedet/semantic/tag-file.el: Declare external variables and functions. lisp/cedet/semantic/texi.el: Declare external variables and functions.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 05 Sep 2009 21:20:17 +0000
parents e4842bf0f303
children 6065d66f0c99
files lisp/cedet/semantic/db-el.el lisp/cedet/semantic/symref.el lisp/cedet/semantic/tag-file.el lisp/cedet/semantic/texi.el
diffstat 4 files changed, 12 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/cedet/semantic/db-el.el	Sat Sep 05 21:09:25 2009 +0000
+++ b/lisp/cedet/semantic/db-el.el	Sat Sep 05 21:20:17 2009 +0000
@@ -37,8 +37,10 @@
   ;; For generic function searching.
   (require 'eieio)
   (require 'eieio-opt)
-  (require 'eieio-base)
-  )
+  (require 'eieio-base))
+
+(declare-function semantic-elisp-desymbolify "semantic/bovine/el")
+
 ;;; Code:
 
 ;;; Classes:
@@ -205,6 +207,7 @@
       (setq sym (intern-soft sym)))
   (when sym
     (cond ((and (eq toktype 'function) (fboundp sym))
+	   (require 'semantic/bovine/el)
 	   (semantic-tag-new-function
 	    (symbol-name sym)
 	    nil	;; return type
--- a/lisp/cedet/semantic/symref.el	Sat Sep 05 21:09:25 2009 +0000
+++ b/lisp/cedet/semantic/symref.el	Sat Sep 05 21:20:17 2009 +0000
@@ -67,8 +67,11 @@
 (require 'semantic)
 ;; (require 'ede)
 
+(defvar ede-minor-mode)
 (declare-function data-debug-new-buffer "data-debug")
 (declare-function data-debug-insert-object-slots "eieio-datadebug")
+(declare-function ede-toplevel "ede/files")
+(declare-function ede-project-root-directory "ede/files")
 
 ;;; Code:
 (defvar semantic-symref-tool 'detect
--- a/lisp/cedet/semantic/tag-file.el	Sat Sep 05 21:09:25 2009 +0000
+++ b/lisp/cedet/semantic/tag-file.el	Sat Sep 05 21:20:17 2009 +0000
@@ -28,9 +28,11 @@
 
 (require 'semantic/tag)
 
+(defvar ede-minor-mode)
 (declare-function semanticdb-table-child-p "semantic/db")
 (declare-function semanticdb-get-buffer "semantic/db")
 (declare-function semantic-dependency-find-file-on-path "semantic/dep")
+(declare-function ede-toplevel "ede/files")
 
 ;;; Code:
 
--- a/lisp/cedet/semantic/texi.el	Sat Sep 05 21:09:25 2009 +0000
+++ b/lisp/cedet/semantic/texi.el	Sat Sep 05 21:20:17 2009 +0000
@@ -41,7 +41,9 @@
 ;;  (require 'senator)
 )
 
+(defvar ede-minor-mode)
 (declare-function lookup-words "ispell")
+(declare-function ede-current-project "ede")
 
 (defvar semantic-texi-super-regex
   "^@\\(top\\|chapter\\|\\(sub\\)*section\\|unnumbered\\(\\(sub\\)*sec\\)?\\|\