aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diffseq.h
diff options
context:
space:
mode:
authorJim Porter2022-01-02 22:08:52 -0800
committerJuri Linkov2022-01-04 10:18:15 +0200
commit3eaf3aeec8a23dda8f9a170909bcc052c3d4ab78 (patch)
tree889ec53890605c716582325f06c645e301380b3d /lib/diffseq.h
parent9651be5b48691ced56230522e10c05a04455e4a3 (diff)
downloademacs-3eaf3aeec8a23dda8f9a170909bcc052c3d4ab78.tar.gz
emacs-3eaf3aeec8a23dda8f9a170909bcc052c3d4ab78.zip
Prevent further cases of duplicated separators in context menus
In some cases, context menu items are added before the overall prompt string. This could cause multiple consecutive separators to appear if they "surround" the prompt string. (Bug#52293) * lisp/mouse.el (context-menu-map): Improve the de-duplication logic to ignore non-menu-items when checking for consecutive separators. * test/lisp/mouse-tests.el (context-menu-map-remove-consecutive-separators) (context-menu-map-remove-separators-at-beginning-or-end): New tests.
Diffstat (limited to 'lib/diffseq.h')
0 files changed, 0 insertions, 0 deletions