diff options
| author | marty hiatt <martianhiatus@riseup.net> | 2024-08-02 16:17:37 +0200 | 
|---|---|---|
| committer | marty hiatt <martianhiatus@riseup.net> | 2024-08-02 16:19:59 +0200 | 
| commit | 351bd73875c5d59a02b7126a35a7883be15b5058 (patch) | |
| tree | 3cb2ca27d06d5e64b771fb90b4eafd849a870154 | |
| parent | 35a26600afca9bcf6fd033a2a7199a4df048c655 (diff) | |
fix prev-item-id
| -rw-r--r-- | lisp/mastodon-tl.el | 4 | 
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."  | 
