summaryrefslogtreecommitdiff
path: root/lisp/cedet
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-06-14 15:32:33 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-06-14 15:32:33 +0200
commit2604ea84b3b621c79c1982b9889f2b7719daf450 (patch)
treef192d0556dbd45a3e9d9e47b1ad3789ed8522f6d /lisp/cedet
parent4d96ee406d846008db9419f91915b959d046a592 (diff)
downloademacs-2604ea84b3b621c79c1982b9889f2b7719daf450.tar.gz
emacs-2604ea84b3b621c79c1982b9889f2b7719daf450.tar.bz2
emacs-2604ea84b3b621c79c1982b9889f2b7719daf450.zip
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.
Diffstat (limited to 'lisp/cedet')
-rw-r--r--lisp/cedet/srecode/dictionary.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/cedet/srecode/dictionary.el b/lisp/cedet/srecode/dictionary.el
index 8508371d53b..63635e5ccda 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"))