emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-28 307d164: * lisp/mouse.el (mouse-buffer-menu-mode-groups): Tight


From: Juri Linkov
Subject: emacs-28 307d164: * lisp/mouse.el (mouse-buffer-menu-mode-groups): Tighten "Version Control".
Date: Mon, 8 Nov 2021 14:24:06 -0500 (EST)

branch: emacs-28
commit 307d164c9c053501df8159719b3b502d720a945a
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>

    * 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 7bac6dd..091383b 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")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]