]> git.eshelyaron.com Git - emacs.git/commitdiff
srecode/srt-mode compilation fix
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 14 Jun 2019 13:36:17 +0000 (15:36 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 14 Jun 2019 13:36:17 +0000 (15:36 +0200)
* lisp/cedet/srecode/srt-mode.el (srecode/insert): Require to
avoid compilation warning about unknown slot.  Remove function
declarations that point to that file.

lisp/cedet/srecode/srt-mode.el

index a4c8cbd1d014e581e2614f698872b709fdc0fe7b..89301d615864483426e89b7168435e55c5393973 100644 (file)
 (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))