1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

Quieten cedet "might not be defined at runtime" compile warnings

* admin/grammars/scheme.by (semantic-parse-region):
* lisp/cedet/ede.el (ede--project-inode):
* lisp/cedet/semantic/texi.el (semantic-analyze-context):
Declare.
This commit is contained in:
Glenn Morris 2018-02-28 13:39:52 -05:00
parent 3959892419
commit e8edf4ad60
3 changed files with 8 additions and 0 deletions

View File

@ -20,6 +20,11 @@
%package semantic-scm-by
%provide semantic/bovine/scm-by
%{
(declare-function semantic-parse-region "semantic"
(start end &optional nonterminal depth returnonerror))
}
%languagemode scheme-mode
%start scheme

View File

@ -1095,6 +1095,7 @@ Flush the dead projects from the project cache."
))
(defvar ede--disable-inode) ;Defined in ede/files.el.
(declare-function ede--project-inode "ede/files" (proj))
(defun ede-global-list-sanity-check ()
"Perform a sanity check to make sure there are no duplicate projects."

View File

@ -365,6 +365,8 @@ Optional argument POINT is where to look for the environment."
(eval-when-compile
(require 'semantic/analyze))
(declare-function semantic-analyze-context "semantic/analyze")
(define-mode-local-override semantic-analyze-current-context
texinfo-mode (point)
"Analysis context makes no sense for texinfo. Return nil."