aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-09-12 09:52:11 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-09-12 09:52:11 +0200
commit759267c593d88fcce453212b0a8a2892bb90ea8f (patch)
treebfd9687fbd6bdd8f1dd31ae7ba8c0c6efac51c90 /lisp/mastodon-tl.el
parent160aefb2fe03f101f9f137abe8da4f81eed5f7a5 (diff)
parente7209bd1d404324cf5653b2728c1d219902e8f29 (diff)
Merge branch 'develop' into draft-toots
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el7
1 files changed, 0 insertions, 7 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index db8ce20..d8b2baa 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1175,13 +1175,6 @@ webapp"
(reblog (alist-get 'reblog json)))
(if reblog (alist-get 'id reblog) id)))
-(defun mastodon-tl--single-toot-from-url (url)
- "Open the toot at URL in `mastodon.el'."
- ;; TODO: test if URL is masto
- ;; FIXME: this only works 1/2 the time
- (let ((id (url-file-nondirectory url)))
- (mastodon-tl--single-toot id)))
-
(defun mastodon-tl--single-toot (&optional id)
"View toot at point in separate buffer.
ID is that of the toot to view."