From ee25cb9b026a40c320570c09635a476509d81d67 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Sat, 2 Nov 2024 10:57:33 +0100 Subject: update point after widget. FIX #615 --- lisp/mastodon-profile.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el index c16d88d..1ce8747 100644 --- a/lisp/mastodon-profile.el +++ b/lisp/mastodon-profile.el @@ -745,7 +745,6 @@ MAX-ID is a flag to include the max_id pagination parameter." "\n\n") 'success) "")))) ; for insert call - (setq mastodon-tl--update-point (point)) (mastodon-media--inline-images (point-min) (point)) ;; widget items description (mastodon-widget--create @@ -756,7 +755,8 @@ MAX-ID is a flag to include the max_id pagination parameter." (lambda (widget &rest _ignore) (let ((value (widget-value widget))) (mastodon-profile--view-fun-call value)))) - (insert "\n"))) + (insert "\n") + (setq mastodon-tl--update-point (point)))) ;; split insert of items from insert of profile: (with-current-buffer buffer (let* ((inhibit-read-only t)) -- cgit v1.2.3