From e7521f255c62debd1077ef77bfa0dd6ca4348cfa Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Thu, 29 Dec 2022 16:30:39 +0100 Subject: Fix mastodon-tl-position-after-update --- lisp/mastodon-tl.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lisp') 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) -- cgit v1.2.3