aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorDrew Adams2025-07-12 17:17:36 +0000
committerEli Zaretskii2025-07-13 08:41:38 +0300
commit1abc54ffe1674fecfb2bbef5109eb95c4c0da99d (patch)
tree7b64d4b546b2c83526502bb79f469a9bb3c8b0ad /etc
parentd63746d5191fb6e4ee6e39addfc1a05e0e0214b1 (diff)
downloademacs-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/NEWS9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 0653ce74287..35ba75b9feb 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1665,6 +1665,15 @@ the 'grep' results editable. The edits will be reflected in the buffer
1665visiting the originating file. Typing 'C-c C-c' will leave the Grep 1665visiting the originating file. Typing 'C-c C-c' will leave the Grep
1666Edit mode. 1666Edit mode.
1667 1667
1668** Imenu
1669
1670---
1671*** New user option 'imenu-allow-duplicate-menu-items'.
1672This specifies whether Imenu can include duplicate menu items.
1673Duplicate items are now allowed by default (option value 't'), which
1674restores the behavior before Emacs 29. Customize this to nil to get the
1675behavior of Emacs 29 and Emacs 30.
1676
1668** Time Stamp 1677** Time Stamp
1669 1678
1670--- 1679---