]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "srecode/srt-mode compilation fix"
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 14 Jun 2019 15:03:59 +0000 (17:03 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 14 Jun 2019 15:03:59 +0000 (17:03 +0200)
This led to a recursive require.

This reverts commit 9fac0e70e3f5b7d0b12b77cac50078e01f68ee70.

lisp/cedet/srecode/srt-mode.el

index 89301d615864483426e89b7168435e55c5393973..a4c8cbd1d014e581e2614f698872b709fdc0fe7b 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,6 +429,7 @@ 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))