1
Fork 0
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:
Lars Ingebrigtsen 2019-06-13 16:58:58 +02:00
parent 37d827152f
commit 7bee5072f9

View file

@ -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))
)