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

lisp/progmodes/bug-reference.el

index 54d4b141656ff072aa74e9634bdc822e4a26093c..96dc2044e7ea355de7bf40c0fb4ef851fbaad66c 100644 (file)
@@ -400,7 +400,7 @@ applicable."
      ,(regexp-opt '("@debbugs.gnu.org" "-devel@gnu.org"
                     ;; List-Id of Gnus devel mailing list.
                     "ding.gnus.org"))
-     "\\([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 mail modes.