summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/cl-print-tests.el
diff options
context:
space:
mode:
authorTassilo Horn <tsdh@gnu.org>2021-09-02 22:07:16 +0200
committerTassilo Horn <tsdh@gnu.org>2021-09-02 22:07:16 +0200
commit0db50c3fd5580cfa077d81c484a29f2821ceb02d (patch)
tree3b82137f31e277caf9b5ade72feec0d6cbc88a83 /test/lisp/emacs-lisp/cl-print-tests.el
parent6372a3f6e51c35b7b993a423d8ce7b06880f9004 (diff)
downloademacs-0db50c3fd5580cfa077d81c484a29f2821ceb02d.tar.gz
emacs-0db50c3fd5580cfa077d81c484a29f2821ceb02d.tar.bz2
emacs-0db50c3fd5580cfa077d81c484a29f2821ceb02d.zip
Support forges by type rather than by host
Formerly, bug-reference-setup-from-vc-alist basically had one entry per host (like gitlab.com). Restructure so that it's easy to add new hosts being just an instance of some type of forge such as SourceHut, Gitea, or GitLab. While we're at it, add support for gitea.com, salsa.debian.org, and framagit.org, the latter two being GitLab instances. * lisp/progmodes/bug-reference.el (bug-reference-gitea-instances) (bug-reference-gitlab-instances,bug-reference-sourcehut-instances): New variables listing online instances of those forges. (bug-reference--setup-from-vc-alist): New function (and variable for caching) using the former three new variables to generate suitable VC auto-setup alist. (bug-reference-try-setup-from-vc): Use both bug-reference-setup-from-vc-alist and bug-reference--setup-from-vc-alist.
Diffstat (limited to 'test/lisp/emacs-lisp/cl-print-tests.el')
0 files changed, 0 insertions, 0 deletions