]> git.eshelyaron.com Git - emacs.git/commit
Fix c-ts-mode imenu defun name (bug#60296)
authorYuan Fu <casouri@gmail.com>
Sun, 25 Dec 2022 02:59:39 +0000 (18:59 -0800)
committerYuan Fu <casouri@gmail.com>
Sun, 25 Dec 2022 02:59:39 +0000 (18:59 -0800)
commitc36fe3df17b37a705299239d6ef0185ad55b1d3a
tree0a9e88ce784f1ca4c79260eb4fe3af802dbc7326
parenta24e350170e84d564e510739c8ddf02a7b08f276
Fix c-ts-mode imenu defun name (bug#60296)

Extract out c-ts-mode--declarator-identifier from
c-ts-mode--fontify-declarator.

* lisp/progmodes/c-ts-mode.el (c-ts-mode--declarator-identifier): New
function.
(c-ts-mode--fontify-defun): Extract out.
(c-ts-mode--defun-name): Use the new function.
lisp/progmodes/c-ts-mode.el