diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-02-15 14:11:06 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-02-15 14:11:06 +0100 |
commit | 5622793b26a01777b1d001a4c2be6f095a5b82e1 (patch) | |
tree | 5d2b63528ad95ec7f3c6d0ff20acd4f6909d4882 | |
parent | 696ee69f9877f92abd5221d2314e45f1ea953d8e (diff) |
fave/boost: prevent moving to next toot if point already inside byline
-rw-r--r-- | lisp/mastodon-toot.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el index 3f19a0d..7b9163a 100644 --- a/lisp/mastodon-toot.el +++ b/lisp/mastodon-toot.el @@ -308,6 +308,10 @@ Remove MARKER if REMOVE is non-nil, otherwise add it." (when at-byline-p ;; leave point after the marker: (unless remove + ;; if point is inside the byline, back up first so + ;; we don't move to the following toot: + (beginning-of-line) + (previous-line) (mastodon-tl--goto-next-toot))))) (defun mastodon-toot--action (action callback) |