[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 37d8271 3/4: semantic/idle.el compilation warning f
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 37d8271 3/4: semantic/idle.el compilation warning fix |
Date: |
Thu, 13 Jun 2019 10:59:51 -0400 (EDT) |
branch: master
commit 37d827152f3744cb2f203c96ac6c9bb650b0313c
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
semantic/idle.el compilation warning fix
* lisp/cedet/semantic/idle.el (semantic/analyze): Require to
avoid compilation warnings about unknown slots, and remove
declare-function.
---
lisp/cedet/semantic/idle.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lisp/cedet/semantic/idle.el b/lisp/cedet/semantic/idle.el
index a894630..92ec7f8 100644
--- a/lisp/cedet/semantic/idle.el
+++ b/lisp/cedet/semantic/idle.el
@@ -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 ()