aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-toot.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mastodon-toot.el')
-rw-r--r--lisp/mastodon-toot.el9
1 files changed, 1 insertions, 8 deletions
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index ff20434..d677f5d 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -61,18 +61,11 @@ STATUS is passed by `url-retrieve'."
(interactive)
(kill-buffer-and-window))
-(defun mastodon-toot--property (prop)
- "Get property PROP for toot at point."
- (or (get-text-property (point) prop)
- (progn
- (mastodon-tl--goto-next-toot)
- (get-text-property (point) prop))))
-
;; TODO extract success callback
(defun mastodon-toot--boost ()
"Boost toot at point."
(interactive)
- (let* ((id (mastodon-toot--property 'toot-id))
+ (let* ((id (mastodon-tl--property 'toot-id))
(url (mastodon--api-for (concat "statuses/"
(number-to-string id)
"/reblog"))))