diff options
author | Yuchen Pei <id@ypei.org> | 2025-01-20 09:50:11 +1100 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2025-01-20 09:50:11 +1100 |
commit | b167fc6a8a97eef6555160be1584a55f7031382c (patch) | |
tree | 6fb05d8a793c6ecae8cd4289ebd34a1196bd470e /emacs/.emacs.d/init/ycp-web.el | |
parent | 5c461f2cc4e8e76d47b98b18e883fe588fa4f11f (diff) |
[emacs] Rename mastorg to fediorg
Now that the package handles fedi posts in general, it no longer makes
sense to use mastodon-specific naming.
Also updated ytdl infobox formatting chapters and removal of extra
queries in urls
Diffstat (limited to 'emacs/.emacs.d/init/ycp-web.el')
-rw-r--r-- | emacs/.emacs.d/init/ycp-web.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/emacs/.emacs.d/init/ycp-web.el b/emacs/.emacs.d/init/ycp-web.el index 6083b35..3c033ad 100644 --- a/emacs/.emacs.d/init/ycp-web.el +++ b/emacs/.emacs.d/init/ycp-web.el @@ -335,12 +335,12 @@ (add-hook 'mastodon-toot-mode-hook (lambda () (turn-off-auto-fill))) (mastodon)) -(my-package mastorg +(my-package fediorg (:delay 60) (require 'my-web) (add-to-list 'browse-url-handlers - `(my-mastodon-url-p - . ,(lambda (url &rest _) (mastorg-open url)))) + `(fediorg-post-url-p + . ,(lambda (url &rest _) (fediorg-open url)))) ) (add-to-list 'load-path (locate-user-emacs-file "lisp/servall/lisp")) |