srecode/srt-mode compilation fix

* lisp/cedet/srecode/srt-mode.el (srecode/insert): Require to
avoid compilation warning about unknown slot.  Remove function
declarations that point to that file.
This commit is contained in:
Lars Ingebrigtsen 2019-06-14 15:36:17 +02:00
parent 51ba1250bc
commit 9fac0e70e3

View file

@ -28,11 +28,11 @@
(require 'semantic)
(require 'semantic/analyze)
(require 'semantic/wisent)
(require 'srecode/insert)
(eval-when-compile
(require 'semantic/find))
(declare-function srecode-create-dictionary "srecode/dictionary")
(declare-function srecode-resolve-argument-list "srecode/insert")
;;; Code:
(defvar srecode-template-mode-syntax-table
@ -429,7 +429,6 @@ Moves to the end of one named section."
(define-mode-local-override semantic-get-local-arguments
srecode-template-mode (&optional point)
"Get local arguments from an SRecode template."
(require 'srecode/insert)
(save-excursion
(when point (goto-char (point)))
(let* ((tag (semantic-current-tag))