which-function

which-function is a compiled Lisp function in `which-func.el'.

(which-function)

Return current function name based on point.
Uses `which-func-functions', `imenu--index-alist'
or `add-log-current-defun'.
If no function name is found, return nil.