Function: semantic-end-of-context-srecode-template-mode
semantic-end-of-context-srecode-template-mode is a byte-compiled
function defined in srt-mode.el.gz.
Signature
(semantic-end-of-context-srecode-template-mode &optional POINT)
Documentation
Move to the end of the current context.
Moves to the end of one named section.
Override semantic-end-of-context in srecode-template-mode buffers.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/srecode/srt-mode.el.gz
(define-mode-local-override semantic-end-of-context
srecode-template-mode (&optional point)
"Move to the end of the current context.
Moves to the end of one named section."
(let ((name (srecode-up-context-get-name point))
(tag (semantic-current-tag))
(es (regexp-quote (srecode-template-get-escape-start))))
(if (not name)
t
(unless (re-search-forward (concat es "/" name) (semantic-tag-end tag) t)
(error "Section %s has no end" name))
(goto-char (match-beginning 0))
nil)))