aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-09-11 16:13:44 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-09-11 16:14:33 +0200
commit346c8cd43af5d5aba44291b018f7bf94e2ed335c (patch)
tree2bab05f0977540756316509ab3f5f5ec3bb37df6 /lisp/mastodon-tl.el
parenta986ec502a305a9a55311bec8956b1f0331d2b16 (diff)
remove stale TODOs and stale function --single-toot-from-url
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."