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

Fix build warning in srecode/srt-mode

* lisp/cedet/srecode/srt-mode.el (srecode-inserter-prin-example):
Declare and require before use.
This commit is contained in:
Lars Ingebrigtsen 2019-06-15 17:34:48 +02:00
parent 4058102c7c
commit c9afa2eed5

View File

@ -33,6 +33,7 @@
(declare-function srecode-create-dictionary "srecode/dictionary")
(declare-function srecode-resolve-argument-list "srecode/insert")
(declare-function srecode-inserter-prin-example "srecode/insert")
;;; Code:
(defvar srecode-template-mode-syntax-table
@ -232,6 +233,7 @@ we can tell font lock about them.")
(defun srecode-macro-help ()
"Provide help for working with macros in a template."
(interactive)
(require 'srecode/insert)
(let* ((root 'srecode-template-inserter)
(chl (eieio-class-children root))
(ess (srecode-template-get-escape-start))