From 3c3ea71707d086858c141d141c2ec964d0782a2a Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Thu, 12 Oct 2023 16:19:51 +0200 Subject: masto-url-p -> fedi-url-p --- lisp/mastodon.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp/mastodon.el') diff --git a/lisp/mastodon.el b/lisp/mastodon.el index 04d2fe8..1e6674d 100644 --- a/lisp/mastodon.el +++ b/lisp/mastodon.el @@ -352,7 +352,7 @@ not, just browse the URL in the normal fashion." (thing-at-point-url-at-point) (mastodon-tl--property 'shr-url :no-move) (read-string "Lookup URL: ")))) - (if (not (mastodon--masto-url-p query)) + (if (not (mastodon--fedi-url-p query)) ;; (shr-browse-url query) ; doesn't work (keep our shr keymap) (browse-url query) (message "Performing lookup...") @@ -374,7 +374,7 @@ not, just browse the URL in the normal fashion." (t (browse-url query))))))) -(defun mastodon--masto-url-p (query) +(defun mastodon--fedi-url-p (query) "Check if QUERY resembles a fediverse URL." ;; calqued off https://github.com/tuskyapp/Tusky/blob/c8fc2418b8f5458a817bba221d025b822225e130/app/src/main/java/com/keylesspalace/tusky/BottomSheetActivity.kt ;; thx to Conny Duck! -- cgit v1.2.3