Function: semantic-texi-current-environment

semantic-texi-current-environment is a byte-compiled function defined in texi.el.gz.

Signature

(semantic-texi-current-environment &optional POINT)

Documentation

Return as a string the type of the current environment.

Optional argument POINT is where to look for the environment.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/texi.el.gz
(defun semantic-texi-current-environment (&optional point)
  "Return as a string the type of the current environment.
Optional argument POINT is where to look for the environment."
  (save-excursion
    (when point (goto-char (point)))
    (while (and (or (not (looking-at  semantic-texi-environment-regexp))
		    (looking-at "@end"))
		(not (semantic-up-context)))
      )
    (when (looking-at  semantic-texi-environment-regexp)
      (match-string 1))))