summaryrefslogtreecommitdiff
path: root/lisp/cedet/srecode/compile.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-06-14 15:29:17 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-06-14 15:29:17 +0200
commit98df06c19ea3bb20f116c3776dc339a66c442ff5 (patch)
treeece16a6d07a7b91ef043cc0f01d949b7872d3517 /lisp/cedet/srecode/compile.el
parent595e12c2da7b5053f56f57ba59a6156ac239bbf0 (diff)
downloademacs-98df06c19ea3bb20f116c3776dc339a66c442ff5.tar.gz
emacs-98df06c19ea3bb20f116c3776dc339a66c442ff5.tar.bz2
emacs-98df06c19ea3bb20f116c3776dc339a66c442ff5.zip
srecode-inserter-prin-example compilation fix
* lisp/cedet/srecode/insert.el (srecode-inserter-prin-example): Move prin1 example to file that defines the structure it prints.
Diffstat (limited to 'lisp/cedet/srecode/compile.el')
-rw-r--r--lisp/cedet/srecode/compile.el12
1 files changed, 0 insertions, 12 deletions
diff --git a/lisp/cedet/srecode/compile.el b/lisp/cedet/srecode/compile.el
index ff640c020f3..586ed0ab0e8 100644
--- a/lisp/cedet/srecode/compile.el
+++ b/lisp/cedet/srecode/compile.el
@@ -131,18 +131,6 @@ STATE is the current compilation state."
"For the template inserter INS, apply information from STATE."
nil)
-(cl-defmethod srecode-inserter-prin-example ((ins (subclass srecode-template-inserter))
- escape-start escape-end)
- "Insert an example using inserter INS.
-Arguments ESCAPE-START and ESCAPE-END are the current escape sequences in use."
- (princ " ")
- (princ escape-start)
- (when (and (slot-exists-p ins 'key) (oref ins key))
- (princ (format "%c" (oref ins key))))
- (princ "VARNAME")
- (princ escape-end)
- (terpri)
- )
;;; Compile State