Function: semantic-ctxt-current-mode

semantic-ctxt-current-mode is an autoloaded and byte-compiled function defined in ctxt.el.gz.

Signature

(semantic-ctxt-current-mode &optional POINT)

Documentation

Return the major mode active at POINT.

POINT defaults to the value of point in current buffer. You should override this function in multiple mode buffers to determine which major mode apply at point.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/ctxt.el.gz
;;;###autoload
(define-overloadable-function semantic-ctxt-current-mode (&optional point)
  "Return the major mode active at POINT.
POINT defaults to the value of point in current buffer.
You should override this function in multiple mode buffers to
determine which major mode apply at point.")