diff --git a/modules/emacs/vc/config.el b/modules/emacs/vc/config.el index 7c5f0b61d..9087b5a69 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 '("^codeberg\\.org$" . "codeberg")) + (add-to-list 'browse-at-remote-remote-type-regexps '(:host "^codeberg\\.org$" :type "github")) ;; 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