mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
semantic/senator.el byte compilation fix
* lisp/cedet/semantic/senator.el (semantic/analyze): Require to avoid compilation warnings about unknown slots, and remove declare-function.
This commit is contained in:
parent
37d827152f
commit
7bee5072f9
1 changed files with 1 additions and 2 deletions
|
|
@ -36,6 +36,7 @@
|
|||
(require 'semantic/ctxt)
|
||||
(require 'semantic/decorate)
|
||||
(require 'semantic/format)
|
||||
(require 'semantic/analyze)
|
||||
|
||||
(eval-when-compile (require 'semantic/find))
|
||||
|
||||
|
|
@ -43,7 +44,6 @@
|
|||
|
||||
(declare-function semantic-analyze-tag-references "semantic/analyze/refs")
|
||||
(declare-function semantic-analyze-refs-impl "semantic/analyze/refs")
|
||||
(declare-function semantic-analyze-find-tag "semantic/analyze")
|
||||
(declare-function semantic-analyze-tag-type "semantic/analyze/fcn")
|
||||
(declare-function semantic-tag-external-class "semantic/sort")
|
||||
(declare-function imenu--mouse-menu "imenu")
|
||||
|
|
@ -594,7 +594,6 @@ Makes C/C++ language like assumptions."
|
|||
|
||||
;; Get the data type, and try to find that.
|
||||
((semantic-tag-type tag)
|
||||
(require 'semantic/analyze)
|
||||
(let ((scope (semantic-calculate-scope (point))))
|
||||
(semantic-analyze-tag-type tag scope))
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue