Function: c-ts-mode--emacs-current-defun-name
c-ts-mode--emacs-current-defun-name is a byte-compiled function
defined in c-ts-mode.el.gz.
Signature
(c-ts-mode--emacs-current-defun-name)
Documentation
Return the name of the current defun.
This is used for add-log-current-defun-function.
In addition to regular C functions, this function also recognizes
Emacs primitives defined via DEFUN in Emacs sources,
if c-ts-mode-emacs-sources-support is non-nil.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/c-ts-mode.el.gz
(defun c-ts-mode--emacs-current-defun-name ()
"Return the name of the current defun.
This is used for `add-log-current-defun-function'.
In addition to regular C functions, this function also recognizes
Emacs primitives defined via DEFUN in Emacs sources,
if `c-ts-mode-emacs-sources-support' is non-nil."
(or (treesit-add-log-current-defun)
(c-ts-mode--defun-name (c-ts-mode--emacs-defun-at-point))))