Function: semantic-beginning-of-context-srecode-template-mode

semantic-beginning-of-context-srecode-template-mode is a byte-compiled function defined in srt-mode.el.gz.

Signature

(semantic-beginning-of-context-srecode-template-mode &optional POINT)

Documentation

Move to the beginning of the current context.

Moves to the beginning of one named section. Override semantic-beginning-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-beginning-of-context
  srecode-template-mode (&optional point)
  "Move to the beginning of the current context.
Moves to the beginning of one named section."
  (if (semantic-up-context point)
      t
    (let ((es (regexp-quote (srecode-template-get-escape-start)))
	  (ee (regexp-quote (srecode-template-get-escape-end))))
      (re-search-forward es) ;; move over the start chars.
      (re-search-forward ee) ;; Move after the end chars.
      nil)))