aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-08-02 16:17:37 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-08-02 16:19:59 +0200
commit351bd73875c5d59a02b7126a35a7883be15b5058 (patch)
tree3cb2ca27d06d5e64b771fb90b4eafd849a870154 /lisp
parent35a26600afca9bcf6fd033a2a7199a4df048c655 (diff)
fix prev-item-id
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-tl.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 99d6eac..8c00418 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1494,11 +1494,11 @@ Runs `mastodon-tl--render-text' and fetches poll or media."
"Return the id of the last toot inserted into the buffer."
(let* ((prev-change
(save-excursion
- (previous-single-property-change (point) 'base-toot-id)))
+ (previous-single-property-change (point) 'base-item-id)))
(prev-pos
(when prev-change (1- prev-change))))
(when prev-pos
- (get-text-property prev-pos 'base-toot-id))))
+ (get-text-property prev-pos 'base-item-id))))
(defun mastodon-tl--after-reply-status (reply-to-id)
"T if REPLY-TO-ID is equal to that of the last toot inserted in the bufer."