From 9fac0e70e3f5b7d0b12b77cac50078e01f68ee70 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 14 Jun 2019 15:36:17 +0200 Subject: [PATCH] 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. --- lisp/cedet/srecode/srt-mode.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/cedet/srecode/srt-mode.el b/lisp/cedet/srecode/srt-mode.el index a4c8cbd1d01..89301d61586 100644 --- a/lisp/cedet/srecode/srt-mode.el +++ b/lisp/cedet/srecode/srt-mode.el @@ -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)) -- 2.39.5