[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/mastodon 50e9fc677f 06/52: fix pagination for trending tag
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/mastodon 50e9fc677f 06/52: fix pagination for trending tags |
Date: |
Mon, 30 Oct 2023 16:01:24 -0400 (EDT) |
branch: elpa/mastodon
commit 50e9fc677fd405a4e957c617f4dc31306321b9fc
Author: marty hiatt <martianhiatus [a t] riseup [d o t] net>
Commit: marty hiatt <martianhiatus [a t] riseup [d o t] net>
fix pagination for trending tags
---
lisp/mastodon-search.el | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/lisp/mastodon-search.el b/lisp/mastodon-search.el
index 3fd552d0e3..9b4bb68028 100644
--- a/lisp/mastodon-search.el
+++ b/lisp/mastodon-search.el
@@ -89,7 +89,7 @@ QUERY is the string to search."
"Display a list of tags trending on your instance."
(interactive)
(mastodon-search--view-trending "tags"
- #'mastodon-search--print-tags-list))
+ #'mastodon-search--print-tags))
(defun mastodon-search--trending-statuses ()
"Display a list of statuses trending on your instance."
@@ -109,13 +109,7 @@ PRINT-FUN is the function used to print the data from the
response."
'("limit" . "20")))
(offset '(("offset" . "0")))
(params (push limit offset))
- (response (mastodon-http--get-json url params))
- (data (cond ((equal type "tags")
- (mapcar #'mastodon-search--get-hashtag-info response))
- ((equal type "statuses")
- response) ; no longer needs further processing
- ((equal type "links")
- (message "todo"))))
+ (data (mastodon-http--get-json url params))
(buffer (get-buffer-create (format "*mastodon-trending-%s*" type))))
(with-mastodon-buffer buffer #'mastodon-mode nil
(mastodon-tl--set-buffer-spec (buffer-name buffer)
- [nongnu] elpa/mastodon updated (cd2d6f23b4 -> a8c80d25b7), ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon 6eadcf1716 01/52: tests docstring, ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon 45fd842fe2 03/52: goto-too-pos: add masto-tab-stop second prop, ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon 267b8f9fff 04/52: refactor/rename mastodon-search--insert-heading, ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon 50e9fc677f 06/52: fix pagination for trending tags,
ELPA Syncer <=
- [nongnu] elpa/mastodon 153b1682d0 07/52: more*: msg when response is nil, ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon b078849b53 11/52: implement link-header pagination for foll-reqs, ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon a672c056a8 15/52: fix init-sync for notifs-get compat with link-header/get-response, ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon dd5a34bb8d 18/52: remove "toots" from more msging, as its now (more) generic, ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon d59b8d0f8b 22/52: next-/prev-toot>next-/prev-item, cond-case around pos update call, ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon 8eda8fb5fa 24/52: fix rename do-if-item-strict, ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon 506ec82941 29/52: tl--prev-toot-id: don't assume our funs return anything., ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon 979f95575a 43/52: note re tags timeline limit number of tags, ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon c18aee5421 44/52: request-auth-code: select-enable-clipboard., ELPA Syncer, 2023/10/30
- [nongnu] elpa/mastodon 8404082b69 02/52: move scroll up cmd, ELPA Syncer, 2023/10/30