1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-18 18:05:07 +00:00

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.
This commit is contained in:
Lars Ingebrigtsen 2019-06-14 15:32:33 +02:00
parent 4d96ee406d
commit 2604ea84b3

View File

@ -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"))