aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-06-15 17:34:48 +0200
committerLars Ingebrigtsen2019-06-15 17:34:48 +0200
commitc9afa2eed5c7869d207c21e140fc711e2729e951 (patch)
tree95bd7a56bec065c5bbf983a6616f932780676c28
parent4058102c7cf3b96bb125473e407877c6dd7dfd61 (diff)
downloademacs-c9afa2eed5c7869d207c21e140fc711e2729e951.tar.gz
emacs-c9afa2eed5c7869d207c21e140fc711e2729e951.zip
Fix build warning in srecode/srt-mode
* lisp/cedet/srecode/srt-mode.el (srecode-inserter-prin-example): Declare and require before use.
-rw-r--r--lisp/cedet/srecode/srt-mode.el2
1 files changed, 2 insertions, 0 deletions
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 @@
33 33
34(declare-function srecode-create-dictionary "srecode/dictionary") 34(declare-function srecode-create-dictionary "srecode/dictionary")
35(declare-function srecode-resolve-argument-list "srecode/insert") 35(declare-function srecode-resolve-argument-list "srecode/insert")
36(declare-function srecode-inserter-prin-example "srecode/insert")
36 37
37;;; Code: 38;;; Code:
38(defvar srecode-template-mode-syntax-table 39(defvar srecode-template-mode-syntax-table
@@ -232,6 +233,7 @@ we can tell font lock about them.")
232(defun srecode-macro-help () 233(defun srecode-macro-help ()
233 "Provide help for working with macros in a template." 234 "Provide help for working with macros in a template."
234 (interactive) 235 (interactive)
236 (require 'srecode/insert)
235 (let* ((root 'srecode-template-inserter) 237 (let* ((root 'srecode-template-inserter)
236 (chl (eieio-class-children root)) 238 (chl (eieio-class-children root))
237 (ess (srecode-template-get-escape-start)) 239 (ess (srecode-template-get-escape-start))