summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-06-14 17:03:59 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-06-14 17:03:59 +0200
commit9b5592b5da87cff27f552a90697cb749c1ba10e9 (patch)
treec9dd3736799dffcf9d464bab7f0725c880ab2895 /lisp
parent7f6b0c1ee93663892c6220b982f7bc3275dcaa85 (diff)
downloademacs-9b5592b5da87cff27f552a90697cb749c1ba10e9.tar.gz
emacs-9b5592b5da87cff27f552a90697cb749c1ba10e9.tar.bz2
emacs-9b5592b5da87cff27f552a90697cb749c1ba10e9.zip
Revert "srecode/srt-mode compilation fix"
This led to a recursive require. This reverts commit 9fac0e70e3f5b7d0b12b77cac50078e01f68ee70.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/cedet/srecode/srt-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/cedet/srecode/srt-mode.el b/lisp/cedet/srecode/srt-mode.el
index 89301d61586..a4c8cbd1d01 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,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))