diff options
author | Yuan Fu <casouri@gmail.com> | 2023-01-07 17:46:27 -0800 |
---|---|---|
committer | Yuan Fu <casouri@gmail.com> | 2023-01-07 18:44:16 -0800 |
commit | 8575043f56b6b09001d53657f91eb2bb706e802a (patch) | |
tree | 1faf176f518f7ad3f5e4b5c0255109411c51df53 /lisp/emacs-lisp/inline.el | |
parent | ef7f3c6388be1299e3834f7c96889f0e17745c24 (diff) | |
download | emacs-8575043f56b6b09001d53657f91eb2bb706e802a.tar.gz emacs-8575043f56b6b09001d53657f91eb2bb706e802a.tar.bz2 emacs-8575043f56b6b09001d53657f91eb2bb706e802a.zip |
Remove duplicate entries in c-ts-mode's Imenu
Right now the Class subindex includes top-level functions, which is
wrong. This change ensures the Class subindex only contain classes and
functions nested in those classes.
* lisp/progmodes/c-ts-mode.el:
(c-ts-mode--defun-for-class-in-imenu-p): New function.
* lisp/progmodes/c-ts-mode.el (c-ts-base-mode): Use the new function.
Diffstat (limited to 'lisp/emacs-lisp/inline.el')
0 files changed, 0 insertions, 0 deletions