From 433a938c504b56dd05c3a8be1191ce7b15b1744f Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Fri, 13 Oct 2023 16:04:02 +0200 Subject: hack to avoid repeat of last search status on calling --more* --- lisp/mastodon-tl.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp') diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index 2aea4f4..0f3862a 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -2350,7 +2350,8 @@ HEADERS is the http headers returned in the response, if any." ;; FIXME: max-id pagination works for statuses only, not other ;; search results pages: (json (cond ((equal "statuses" (mastodon-search--buf-type)) - (alist-get 'statuses response)) + (cdr ; avoid repeat of last status + (alist-get 'statuses response))) ((equal "hashtags" (mastodon-search--buf-type)) (alist-get 'hashtags response)) ((equal "accounts" (mastodon-search--buf-type)) -- cgit v1.2.3