From 307d164c9c053501df8159719b3b502d720a945a Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Mon, 8 Nov 2021 21:23:44 +0200 Subject: [PATCH] * 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). --- lisp/mouse.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"))) -- 2.39.2