emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 2604ea8 4/7: srecode/dictionary compilation warning


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 2604ea8 4/7: srecode/dictionary compilation warning fix
Date: Fri, 14 Jun 2019 09:48:07 -0400 (EDT)

branch: master
commit 2604ea84b3b621c79c1982b9889f2b7719daf450
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    srecode/dictionary compilation warning fix
    
    * lisp/cedet/srecode/dictionary.el (srecode/fields): Require to
    avoid compilation warning about unknown slot.  Remove function
    declarations that point to that file.
---
 lisp/cedet/srecode/dictionary.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/cedet/srecode/dictionary.el b/lisp/cedet/srecode/dictionary.el
index 8508371..63635e5 100644
--- a/lisp/cedet/srecode/dictionary.el
+++ b/lisp/cedet/srecode/dictionary.el
@@ -32,6 +32,7 @@
 (require 'cl-generic)
 (require 'srecode)
 (require 'srecode/table)
+(require 'srecode/fields)
 (eval-when-compile (require 'semantic))
 
 (declare-function srecode-compile-parse-inserter "srecode/compile")
@@ -41,7 +42,6 @@
 (declare-function srecode-insert-code-stream "srecode/insert")
 (declare-function data-debug-new-buffer "data-debug")
 (declare-function data-debug-insert-object-slots "eieio-datadebug")
-(declare-function srecode-field "srecode/fields")
 
 (defclass srecode-dictionary ()
   ((namehash :initarg :namehash
@@ -505,7 +505,6 @@ inserted with a new editable field.")
                                     function
                                     dictionary)
   "Convert this field into an insertable string."
-  (require 'srecode/fields)
   ;; If we are not in a buffer, then this is not supported.
   (when (not (bufferp standard-output))
     (error "FIELDS invoked while inserting template to non-buffer"))



reply via email to

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