summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-06-14 15:36:17 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-06-14 15:36:17 +0200
commit9fac0e70e3f5b7d0b12b77cac50078e01f68ee70 (patch)
tree86149c3d247bcac3f8c3737be7e2a50cf52cc0dc
parent51ba1250bc3511fa278fa70228fc2574c9cc4310 (diff)
downloademacs-9fac0e70e3f5b7d0b12b77cac50078e01f68ee70.tar.gz
emacs-9fac0e70e3f5b7d0b12b77cac50078e01f68ee70.tar.bz2
emacs-9fac0e70e3f5b7d0b12b77cac50078e01f68ee70.zip
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.
-rw-r--r--lisp/cedet/srecode/srt-mode.el3
1 files changed, 1 insertions, 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))