]> git.eshelyaron.com Git - emacs.git/commit
Fix c-ts-mode-imenu
authorYuan Fu <casouri@gmail.com>
Wed, 16 Nov 2022 18:00:42 +0000 (10:00 -0800)
committerYuan Fu <casouri@gmail.com>
Wed, 16 Nov 2022 22:40:41 +0000 (14:40 -0800)
commit7f57d80846b5f674c49a717d6fc086c14f506415
tree527896e0cbdddf7c721aced489888fc4e8234d8f
parent639821d49ab9497908d8d3bcd472aed558c251e1
Fix c-ts-mode-imenu

* lisp/progmodes/c-ts-mode.el (c-ts-mode--imenu-1): If cannot find
its name, ignore the node.
(c-ts-mode--imenu): Don't include a category if it's empty.
lisp/progmodes/c-ts-mode.el