From 9dcffebf366e442d6f69240561a5909e8e8f4da0 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Thu, 2 May 2024 14:39:13 +0200 Subject: url-lookup: try shr-url prop before thing-at point thing at point captures the closing ) of URLs in brackets, which makes webfinger fail. maybe shr-url should always get first dibs before thing-at-point also? --- lisp/mastodon.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/mastodon.el b/lisp/mastodon.el index 70ab73c..1d071f7 100644 --- a/lisp/mastodon.el +++ b/lisp/mastodon.el @@ -370,8 +370,8 @@ If a status or account is found, load it in `mastodon.el', if not, just browse the URL in the normal fashion." (interactive) (let* ((query (or query-url - (thing-at-point-url-at-point) (mastodon-tl--property 'shr-url :no-move) + (thing-at-point-url-at-point) (read-string "Lookup URL: ")))) (if (and (not force) (not (mastodon--fedi-url-p query))) -- cgit v1.2.3