[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/mastodon f23ce015cf 4/5: docstrings
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/mastodon f23ce015cf 4/5: docstrings |
Date: |
Sat, 14 Oct 2023 07:01:13 -0400 (EDT) |
branch: elpa/mastodon
commit f23ce015cf787b1b91d6fe57fad7940a641382ed
Author: marty hiatt <martianhiatus [a t] riseup [d o t] net>
Commit: marty hiatt <martianhiatus [a t] riseup [d o t] net>
docstrings
---
lisp/mastodon-search.el | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/lisp/mastodon-search.el b/lisp/mastodon-search.el
index 772bfd2cef..a2a47bc4ed 100644
--- a/lisp/mastodon-search.el
+++ b/lisp/mastodon-search.el
@@ -152,7 +152,9 @@ TYPE is a member of `mastodon-search-types'.
LIMIT is a number as string, up to 40, with 40 the default.
FOLLOWING means limit to accounts followed, for \"accounts\" type only.
A single prefix arg also sets FOLLOWING to true.
-ACCOUNT-ID means limit search to that account, for \"statuses\" type only."
+ACCOUNT-ID means limit search to that account, for \"statuses\" type only.
+OFFSET is a number as string, means to skip that many results. It
+is used for pagination."
;; TODO: handle no results
(interactive "sSearch mastodon for: ")
(let* ((url (mastodon-http--api-search))
@@ -270,12 +272,12 @@ If NOTE is non-nil, include user's profile note. This is
also
'toot-json acct))) ; for compat w other processing functions
(defun mastodon-search--print-tags (tags)
- "Print tags returned from a \"hashtags\" search query."
+ "Print TAGS data as returned from a \"hashtags\" search query."
(let ((tags-list (mapcar #'mastodon-search--get-hashtag-info tags)))
(mastodon-search--print-tags-list tags-list)))
(defun mastodon-search--print-tags-list (tags-list)
- "Insert a propertized list of TAGS."
+ "Insert a propertized list of TAGS-LIST."
(mapc (lambda (el)
(insert
" : "
- [nongnu] elpa/mastodon updated (2cb0a5012a -> dc6f827bcb), ELPA Syncer, 2023/10/14
- [nongnu] elpa/mastodon 1bd34da21b 3/5: rename search-query to query, ELPA Syncer, 2023/10/14
- [nongnu] elpa/mastodon f23ce015cf 4/5: docstrings,
ELPA Syncer <=
- [nongnu] elpa/mastodon dc6f827bcb 5/5: refactor search, handle no results, ELPA Syncer, 2023/10/14
- [nongnu] elpa/mastodon 2b2d6b03ba 2/5: search check type not data before inserting. fixes b-spec, ELPA Syncer, 2023/10/14
- [nongnu] elpa/mastodon 35313fad43 1/5: don't run update in trending/search buffers for now, ELPA Syncer, 2023/10/14