]> git.eshelyaron.com Git - emacs.git/commitdiff
semantic/idle.el compilation warning fix
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 13 Jun 2019 14:57:50 +0000 (16:57 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 13 Jun 2019 14:57:50 +0000 (16:57 +0200)
* lisp/cedet/semantic/idle.el (semantic/analyze): Require to
avoid compilation warnings about unknown slots, and remove
declare-function.

lisp/cedet/semantic/idle.el

index a8946301da52a6d84a98983ac1708e4d5bacace3..92ec7f882aef943094b4d53b088fafb8e27a677a 100644 (file)
@@ -40,6 +40,7 @@
 (require 'semantic/ctxt)
 (require 'semantic/format)
 (require 'semantic/tag)
+(require 'semantic/analyze)
 (require 'timer)
 ;;(require 'working)
 
@@ -48,7 +49,6 @@
 
 (defvar eldoc-last-message)
 (declare-function eldoc-message "eldoc")
-(declare-function semantic-analyze-interesting-tag "semantic/analyze")
 (declare-function semantic-analyze-unsplit-name "semantic/analyze/fcn")
 (declare-function semantic-complete-analyze-inline-idle "semantic/complete")
 (declare-function semanticdb-deep-find-tags-by-name "semantic/db-find")
@@ -682,7 +682,6 @@ Use the semantic analyzer to find the symbol information."
                      (semantic-analyze-current-context (point))
                    (error nil))))
     (when analysis
-      (require 'semantic/analyze)
       (semantic-analyze-interesting-tag analysis))))
 
 (defun semantic-idle-summary-current-symbol-info-default ()