Variable: bug-reference-setup-from-vc-alist

bug-reference-setup-from-vc-alist is a variable defined in bug-reference.el.gz.

Value

nil

Documentation

An alist for setting up bug-reference-mode(var)/bug-reference-mode(fun) based on VC URL.

Each element has the form (URL-REGEXP BUG-REGEXP URL-FORMAT).

URL-REGEXP is matched against the version control URL of the current buffer's file. If it matches, BUG-REGEXP is set as bug-reference-bug-regexp. URL-FORMAT is either a string, the bug-reference-url-format to be used, or a function of one argument that receives a list of the groups 0 to N of matching URL-REGEXP against the VCS URL and returns the value to be set as bug-reference-url-format.

View in manual

Probably introduced at or before Emacs version 28.1.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/bug-reference.el.gz
(defvar bug-reference-setup-from-vc-alist nil
  "An alist for setting up `bug-reference-mode' based on VC URL.

Each element has the form (URL-REGEXP BUG-REGEXP URL-FORMAT).

URL-REGEXP is matched against the version control URL of the current
buffer's file.  If it matches, BUG-REGEXP is set as
`bug-reference-bug-regexp'.  URL-FORMAT is either a string, the
`bug-reference-url-format' to be used, or a function of one argument
that receives a list of the groups 0 to N of matching URL-REGEXP against
the VCS URL and returns the value to be set as
`bug-reference-url-format'.")