aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/init
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2025-01-06 09:26:20 +1100
committerYuchen Pei <id@ypei.org>2025-01-06 09:26:20 +1100
commit5ec3901c0ce21f4ff8860a31a7f40a4681443e85 (patch)
treef5af50ffe3d83ff82b500bc1679a03dd07c047a1 /emacs/.emacs.d/init
parentbb57c3e606d844000ceb725a4f15f7d92a1d5b67 (diff)
[emacs] browse-url calls gitlab infobox
Diffstat (limited to 'emacs/.emacs.d/init')
-rw-r--r--emacs/.emacs.d/init/ycp-web.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init/ycp-web.el b/emacs/.emacs.d/init/ycp-web.el
index c50cc46..dd733dc 100644
--- a/emacs/.emacs.d/init/ycp-web.el
+++ b/emacs/.emacs.d/init/ycp-web.el
@@ -254,6 +254,8 @@
. ,(lambda (url &rest _) (exitter-open-post url)))
(my-hacker-news-url-p
. ,(lambda (url &rest _) (hnreader-comment url)))
+ (my-gitlab-project-url-p
+ . ,(lambda (url &rest _) (my-gitlab-project-infobox url)))
(my-mastodon-url-p
. ,(lambda (url &rest _) (mastorg-open url)))
(my-newscorp-au-url-p