fix(vc): browse-at-remote: codeberg support

Incorrect :type caused browse-at-remote to produce the wrong URL for
codeberg repos.

Amend: eed6d90586
This commit is contained in:
Henrik Lissner 2023-02-21 19:12:54 -05:00
parent 33af29f7d5
commit c523cd0e93
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -135,7 +135,7 @@ otherwise in default state."
;; Add codeberg.org support ;; Add codeberg.org support
;; TODO: PR this upstream? ;; TODO: PR this upstream?
(add-to-list 'browse-at-remote-remote-type-regexps '(:host "^codeberg\\.org$" :type "github")) (add-to-list 'browse-at-remote-remote-type-regexps '(:host "^codeberg\\.org$" :type "codeberg"))
;; HACK `browse-at-remote' produces urls with `nil' in them, when the repo is ;; HACK `browse-at-remote' produces urls with `nil' in them, when the repo is
;; detached. This creates broken links. I think it is more sensible to ;; detached. This creates broken links. I think it is more sensible to