diff options
| author | Drew Adams | 2025-07-12 17:17:36 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2025-07-13 08:41:38 +0300 |
| commit | 1abc54ffe1674fecfb2bbef5109eb95c4c0da99d (patch) | |
| tree | 7b64d4b546b2c83526502bb79f469a9bb3c8b0ad /etc | |
| parent | d63746d5191fb6e4ee6e39addfc1a05e0e0214b1 (diff) | |
| download | emacs-1abc54ffe1674fecfb2bbef5109eb95c4c0da99d.tar.gz emacs-1abc54ffe1674fecfb2bbef5109eb95c4c0da99d.zip | |
Allow duplicate menu entries in Imenu
* lisp/imenu.el (imenu-allow-duplicate-menu-items): New user
option.
(imenu--create-keymap): Allow duplicate imenu items if
'imenu-allow-duplicate-menu-items' is non-nil.
* etc/NEWS: Announce the change.
(Bug#78935)
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 9 |
1 files changed, 9 insertions, 0 deletions
| @@ -1665,6 +1665,15 @@ the 'grep' results editable. The edits will be reflected in the buffer | |||
| 1665 | visiting the originating file. Typing 'C-c C-c' will leave the Grep | 1665 | visiting the originating file. Typing 'C-c C-c' will leave the Grep |
| 1666 | Edit mode. | 1666 | Edit mode. |
| 1667 | 1667 | ||
| 1668 | ** Imenu | ||
| 1669 | |||
| 1670 | --- | ||
| 1671 | *** New user option 'imenu-allow-duplicate-menu-items'. | ||
| 1672 | This specifies whether Imenu can include duplicate menu items. | ||
| 1673 | Duplicate items are now allowed by default (option value 't'), which | ||
| 1674 | restores the behavior before Emacs 29. Customize this to nil to get the | ||
| 1675 | behavior of Emacs 29 and Emacs 30. | ||
| 1676 | |||
| 1668 | ** Time Stamp | 1677 | ** Time Stamp |
| 1669 | 1678 | ||
| 1670 | --- | 1679 | --- |