diff options
author | martianh <martianh@noreply.codeberg.org> | 2022-12-29 22:07:11 +0000 |
---|---|---|
committer | martianh <martianh@noreply.codeberg.org> | 2022-12-29 22:07:11 +0000 |
commit | ac56ee7d12f98e1ff4f47fb0f354ec757ca73592 (patch) | |
tree | bd7d64484026c45fb752888443d34838e30c2c41 /lisp | |
parent | 8a633d9ab01e9c8cb47e9edf54d52f44e26c57f9 (diff) | |
parent | e7521f255c62debd1077ef77bfa0dd6ca4348cfa (diff) |
Merge pull request 'Fix mastodon-tl-position-after-update' (#366) from tsdh/mastodon.el:fix-after-update-marker into develop
Reviewed-on: https://codeberg.org/martianh/mastodon.el/pulls/366
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mastodon-tl.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index 86aaf67..b3427fc 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -2813,9 +2813,9 @@ from the start if it is nil." (let ((inhibit-read-only t)) (mastodon-tl--set-after-update-marker) (goto-char (or mastodon-tl--update-point (point-min))) - (funcall update-function json)) - (when mastodon-tl--after-update-marker - (goto-char mastodon-tl--after-update-marker))) + (funcall update-function json) + (when mastodon-tl--after-update-marker + (goto-char mastodon-tl--after-update-marker)))) (message "nothing to update"))))) (defun mastodon-tl--get-link-header-from-response (headers) |