From: Lars Ingebrigtsen Date: Sat, 15 Jun 2019 15:34:48 +0000 (+0200) Subject: Fix build warning in srecode/srt-mode X-Git-Tag: emacs-27.0.90~2505 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c9afa2eed5c7869d207c21e140fc711e2729e951;p=emacs.git Fix build warning in srecode/srt-mode * lisp/cedet/srecode/srt-mode.el (srecode-inserter-prin-example): Declare and require before use. --- diff --git a/lisp/cedet/srecode/srt-mode.el b/lisp/cedet/srecode/srt-mode.el index a4c8cbd1d01..1b58ce326ce 100644 --- a/lisp/cedet/srecode/srt-mode.el +++ b/lisp/cedet/srecode/srt-mode.el @@ -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))