From c523cd0e93e0f6ddf47a2a32b79ff0988d943a27 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 21 Feb 2023 19:12:54 -0500 Subject: [PATCH] fix(vc): browse-at-remote: codeberg support Incorrect :type caused browse-at-remote to produce the wrong URL for codeberg repos. Amend: eed6d9058613 --- modules/emacs/vc/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/emacs/vc/config.el b/modules/emacs/vc/config.el index 9087b5a69..e151b0dc0 100644 --- a/modules/emacs/vc/config.el +++ b/modules/emacs/vc/config.el @@ -135,7 +135,7 @@ otherwise in default state." ;; Add codeberg.org support ;; 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 ;; detached. This creates broken links. I think it is more sensible to