From: Juri Linkov Date: Mon, 8 Nov 2021 19:23:44 +0000 (+0200) Subject: * lisp/mouse.el (mouse-buffer-menu-mode-groups): Tighten "Version Control". X-Git-Tag: emacs-28.0.90~98 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=307d164c9c053501df8159719b3b502d720a945a;p=emacs.git * lisp/mouse.el (mouse-buffer-menu-mode-groups): Tighten "Version Control". Use word boundaries in the "Version Control" regexp to match mode names "Log-Edit", "Log-View", "Git-Log-View", "Change Log", "VC dir", but not "Verilog", "Prolog", "Rlogin" (bug#51337). --- diff --git a/lisp/mouse.el b/lisp/mouse.el index 7bac6dd07bf..091383bf110 100644 --- a/lisp/mouse.el +++ b/lisp/mouse.el @@ -2466,7 +2466,7 @@ a large number if you prefer a mixed multitude. The default is 4." ("Text" . "Text") ("Outline" . "Text") ("\\(HT\\|SG\\|X\\|XHT\\)ML" . "SGML") - ("log\\|diff\\|vc\\|cvs\\|Git\\|Annotate" . "Version Control") + ("\\blog\\b\\|diff\\|\\bvc\\b\\|cvs\\|Git\\|Annotate" . "Version Control") ("Threads\\|Memory\\|Disassembly\\|Breakpoints\\|Frames\\|Locals\\|Registers\\|Inferior I/O\\|Debugger" . "GDB") ("Lisp" . "Lisp")))