]> git.eshelyaron.com Git - emacs.git/commit
Refactor bug-reference setup functions into a defvar
authorTassilo Horn <tsdh@gnu.org>
Sat, 15 May 2021 19:19:55 +0000 (21:19 +0200)
committerTassilo Horn <tsdh@gnu.org>
Sat, 15 May 2021 19:19:55 +0000 (21:19 +0200)
commitde61b0b25f0ff47e6da1c86da04b37bc61f963df
tree1f9d282df42e704a870006f45f34a024dbcf3a9a
parentb5e6dba05fcb4fa1c716dc759f8c4b2561bacaa7
Refactor bug-reference setup functions into a defvar

* lisp/progmodes/bug-reference.el
(bug-reference-auto-setup-functions): New defvar so that other
packages can add their own auto-setup functions to it.
* lisp/progmodes/bug-reference.el (bug-reference--run-auto-setup): Use
the new variable instead of hard-coding the 4 functions we've had
already.
lisp/progmodes/bug-reference.el