]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix build warning in srecode/srt-mode
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 15 Jun 2019 15:34:48 +0000 (17:34 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 15 Jun 2019 15:34:48 +0000 (17:34 +0200)
* lisp/cedet/srecode/srt-mode.el (srecode-inserter-prin-example):
Declare and require before use.

lisp/cedet/srecode/srt-mode.el

index a4c8cbd1d014e581e2614f698872b709fdc0fe7b..1b58ce326cecf2b0a95e57b38415317f0bdf044c 100644 (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))