Bugfix: Fix bug-reference-bug-regexp to work with latest Emacs
This commit is contained in:
parent
d377bec138
commit
5494a70af6
@ -2779,8 +2779,13 @@ Intended as a value for `bug-referecne-url-format'."
|
||||
|
||||
(use-package bug-reference
|
||||
:custom
|
||||
(bug-reference-bug-regexp (rx (group (in ?! ?#))
|
||||
(group (+ digit))))
|
||||
(bug-reference-bug-regexp (rx (group word-boundary
|
||||
(: (| (: (in ?B ?b) "ug" (? " ") (? ?#))
|
||||
(: (in ?P ?p) "atch" (? " ") ?#)
|
||||
(: "RFE" (? " ") ?#)
|
||||
(: "PR " (+ (any "a-z+-")) "/")
|
||||
(: "MR" (? " ") (? "!"))))
|
||||
(group (+ (any "0-9")) (opt (: ?# (+ (any "0-9"))))))))
|
||||
(bug-reference-url-format #'my-gitlab-url)
|
||||
:hook
|
||||
(text-mode . bug-reference-mode)
|
||||
|
Loading…
Reference in New Issue
Block a user