Function: ff-which-function-are-we-in

ff-which-function-are-we-in is a byte-compiled function defined in find-file.el.gz.

Signature

(ff-which-function-are-we-in)

Documentation

Return the name of the function whose definition/declaration point is in.

Also remember that name in ff-function-name.

Source Code

;; Defined in /usr/src/emacs/lisp/find-file.el.gz
(defun ff-which-function-are-we-in ()
  "Return the name of the function whose definition/declaration point is in.
Also remember that name in `ff-function-name'."
  (setq ff-function-name
        (save-excursion
          (if (or (re-search-backward ada-procedure-start-regexp nil t)
                  (re-search-backward ada-package-start-regexp nil t))
              (match-string 0)))))