]> git.eshelyaron.com Git - emacs.git/commitdiff
bug-reference.el: Adapt default debbugs bug regexp for IRC modes
authorTassilo Horn <tsdh@gnu.org>
Mon, 13 Sep 2021 05:22:50 +0000 (07:22 +0200)
committerTassilo Horn <tsdh@gnu.org>
Mon, 13 Sep 2021 05:22:50 +0000 (07:22 +0200)
* lisp/progmodes/bug-reference.el (bug-reference-setup-from-irc-alist):
Adapt regexp so that group 1 defines overlay region.

lisp/progmodes/bug-reference.el

index 96dc2044e7ea355de7bf40c0fb4ef851fbaad66c..b646a47c858d3c10ae4eec5d561cae46461b556a 100644 (file)
@@ -531,7 +531,7 @@ From, and Cc against HEADER-REGEXP in
   `((,(concat "#" (regexp-opt '("emacs" "gnus" "org-mode" "rcirc"
                                 "erc") 'words))
      "Libera.Chat"
-     "\\([Bb]ug ?#?\\)\\([0-9]+\\(?:#[0-9]+\\)?\\)"
+     "\\([Bb]ug ?#?\\([0-9]+\\(?:#[0-9]+\\)?\\)\\)"
      "https://debbugs.gnu.org/%s"))
   "An alist for setting up `bug-reference-mode' in IRC modes.