Function: semantic-ctxt-current-function-semantic-grammar-mode

semantic-ctxt-current-function-semantic-grammar-mode is a byte-compiled function defined in grammar.el.gz.

Signature

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

Documentation

Determine the name of the current function at POINT.

Override semantic-ctxt-current-function in semantic-grammar-mode buffers.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/grammar.el.gz
(define-mode-local-override semantic-ctxt-current-function
  semantic-grammar-mode (&optional point)
  "Determine the name of the current function at POINT."
  (save-excursion
    (and point (goto-char point))
    (when (semantic-grammar-in-lisp-p)
      (with-mode-local emacs-lisp-mode
        (semantic-ctxt-current-function)))))