aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-toot.el
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2022-02-13 13:10:25 +0100
committermousebot <mousebot@riseup.net>2022-02-13 13:10:25 +0100
commitf4f1ef4ad2622ec5c8cd5fe49298b8e317a0a763 (patch)
tree2cd94929f8a77badf7d9686bc9e954ba3b6b6b43 /lisp/mastodon-toot.el
parent8a29dcda6827e97b742bb718eb3a7687497f5261 (diff)
parente917b98166c001ba91c596574f869c50f65b6f1d (diff)
Merge branch 'mpv-play-at-point' into develop
Diffstat (limited to 'lisp/mastodon-toot.el')
-rw-r--r--lisp/mastodon-toot.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index 3978e12..48e7d96 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -194,7 +194,10 @@ Remove MARKER if REMOVE is non-nil, otherwise add it."
(unless remove
(goto-char bol)
(insert (format "(%s) "
- (propertize marker 'face 'success)))))))
+ (propertize marker 'face 'success)))))
+ ;; leave point after the marker:
+ (unless remove
+ (mastodon-tl--goto-next-toot))))
(defun mastodon-toot--action (action callback)
"Take ACTION on toot at point, then execute CALLBACK.