Function: c-defun-name
c-defun-name is a byte-compiled function defined in cc-cmds.el.gz.
Signature
(c-defun-name)
Documentation
Return the name of the current defun, or NIL if there isn't one.
"Defun" here means a function, or other top level construct
with a brace block, at the outermost level of nesting.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-cmds.el.gz
(defun c-defun-name ()
"Return the name of the current defun, or NIL if there isn't one.
\"Defun\" here means a function, or other top level construct
with a brace block, at the outermost level of nesting."
(c-save-buffer-state ()
(save-restriction
(widen)
(c-defun-name-1))))