Function: srecode-texi-insert-tag-as-doc
srecode-texi-insert-tag-as-doc is a byte-compiled function defined in
texi.el.gz.
Signature
(srecode-texi-insert-tag-as-doc TAG)
Documentation
Insert TAG into the current buffer with SRecode.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/srecode/texi.el.gz
(defun srecode-texi-insert-tag-as-doc (tag)
"Insert TAG into the current buffer with SRecode."
(when (not (eq major-mode 'texinfo-mode))
(error "Can only insert tags into texinfo in texinfo mode"))
(let ((srecode-semantic-selected-tag tag))
(srecode-load-tables-for-mode major-mode)
;; @todo - choose of the many types of tags to insert,
;; or put all that logic into srecode.
(srecode-insert "declaration:function")))