]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/mouse.el (mouse-buffer-menu-mode-groups): Tighten "Version Control".
authorJuri Linkov <juri@linkov.net>
Mon, 8 Nov 2021 19:23:44 +0000 (21:23 +0200)
committerJuri Linkov <juri@linkov.net>
Mon, 8 Nov 2021 19:23:44 +0000 (21:23 +0200)
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

index 7bac6dd07bf9bde715f8f26105ccd4adb6cff9b6..091383bf110e4b4473c192c1a2ad1a1ab23eae36 100644 (file)
@@ -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")))