]> git.eshelyaron.com Git - emacs.git/commit
Ensure there are no duplicate separators when creating a context menu
authorJim Porter <jporterbugs@gmail.com>
Thu, 2 Dec 2021 05:55:31 +0000 (21:55 -0800)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 2 Dec 2021 08:23:06 +0000 (09:23 +0100)
commit5db380abad0482ae74aa71761f0da2b2351ce97a
treede180b845d3b1ae1482e73cfacaa3f2bf26d49df
parentd353c08d2bf25ea8e42ae4664c3a276d549937b5
Ensure there are no duplicate separators when creating a context menu

Previously, if there were three or more consecutive menu separators,
not all of them would be removed.

* lisp/mouse.el (context-menu-map): Ensure no duplicate separators
(bug#52237).
lisp/mouse.el