From b167fc6a8a97eef6555160be1584a55f7031382c Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Mon, 20 Jan 2025 09:50:11 +1100 Subject: [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 --- emacs/.emacs.d/init/ycp-web.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'emacs/.emacs.d/init') 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")) -- cgit v1.2.3