semantic-tag-mode

semantic-tag-mode is a compiled Lisp function in `tag.el'.

(semantic-tag-mode &optional TAG)

Return the major mode active for TAG.
TAG defaults to the tag at point in current buffer.
If TAG has a :mode property return it.
If point is inside TAG bounds, return the major mode active at point.
Return the major mode active at beginning of TAG otherwise.
See also the function `semantic-ctxt-current-mode'.