From e53bf8fe17bdf3d750f07075cb9d59ca7f5e97ee Mon Sep 17 00:00:00 2001 From: mousebot Date: Thu, 13 May 2021 20:25:41 +0200 Subject: copy url of toot at point --- lisp/mastodon-tl.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lisp/mastodon-tl.el') diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index 81c2d4b..de64e1b 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -812,8 +812,7 @@ webapp" "Copy URL of toot at point." (interactive) (let* ((toot (mastodon-tl--property 'toot-json)) - (boosted (mastodon-tl--field 'reblog toot)) - (url (if boosted + (url (if (mastodon-tl--field 'reblog toot) (cdr (assoc 'url (cdr (assoc 'reblog toot)))) (cdr (assoc 'url toot))))) (kill-new url) -- cgit v1.2.3