emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 9fac0e7 6/7: srecode/srt-mode compilation fix


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 9fac0e7 6/7: srecode/srt-mode compilation fix
Date: Fri, 14 Jun 2019 09:48:08 -0400 (EDT)

branch: master
commit 9fac0e70e3f5b7d0b12b77cac50078e01f68ee70
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    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 a4c8cbd..89301d6 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]