diff options
| author | Juri Linkov | 2025-12-20 20:50:57 +0200 |
|---|---|---|
| committer | Juri Linkov | 2025-12-20 20:50:57 +0200 |
| commit | 9ad5953dd3fdce84e4a1ec27f0334f679b6bd437 (patch) | |
| tree | c9c376b74060722264aaf17f9cc4a02e7a62799b /admin/notes/java | |
| parent | 0aabe62b64b4698340e8414d28b0fa0a3eabbf82 (diff) | |
| download | emacs-9ad5953dd3fdce84e4a1ec27f0334f679b6bd437.tar.gz emacs-9ad5953dd3fdce84e4a1ec27f0334f679b6bd437.zip | |
Handle non-leaf nodes with Eglot text properties in 'M-x imenu'
* lisp/imenu.el (imenu--flatten-index-alist): Add special handling
of the text property 'breadcrumb-region' added by 'eglot-imenu'.
Add non-leaf nodes with these text properties to the flat index alist.
(imenu--parentify-index-alist): New function.
(imenu-choose-buffer-index): For the case when imenu-flatten is nil,
use 'imenu--parentify-index-alist' to add separate ".." to non-leaf nodes
when the first node of 'index-alist' has Eglot text properties (bug#79980).
Diffstat (limited to 'admin/notes/java')
0 files changed, 0 insertions, 0 deletions