aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/init/ycp-web.el
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2025-01-11 21:32:19 +1100
committerYuchen Pei <id@ypei.org>2025-01-11 21:32:19 +1100
commit7b7dc00de551543a102ad7baff9e234cb0da8cb2 (patch)
treed60977e3acf596b0450bf767ef5fcafdf5e5d574 /emacs/.emacs.d/init/ycp-web.el
parenta32df57496361ffd72c68e1e135439d0ec6ec87f (diff)
[emacs] Add ytdl to infobox
Diffstat (limited to 'emacs/.emacs.d/init/ycp-web.el')
-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 a4fa8f5..7df2857 100644
--- a/emacs/.emacs.d/init/ycp-web.el
+++ b/emacs/.emacs.d/init/ycp-web.el
@@ -257,6 +257,8 @@
. ,(lambda (url &rest _) (hnreader-comment url)))
(my-gitlab-project-url-p
. ,(lambda (url &rest _) (my-gitlab-project-infobox url)))
+ (my-ytdl-video-url-p
+ . ,(lambda (url &rest _) (my-ytdl-video-infobox url)))
(my-mastodon-url-p
. ,(lambda (url &rest _) (mastorg-open url)))
(my-newscorp-au-url-p