sh-current-defun-name

sh-current-defun-name is a compiled Lisp function in `sh-script.el'.

(sh-current-defun-name)

Find the name of function or variable at point.
For use in `add-log-current-defun-function'.