aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-12-30 10:23:43 +1100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-12-30 10:23:43 +1100
commit47eaa7a194fa38bc39c45fbd5e3f86a01d78755f (patch)
treeefe8ab0313f5e325a5043889461a5e4ef685beb2 /lisp/mastodon-tl.el
parent101e2c7ee74bfa1df6bb3d31a9daeca6a0a75243 (diff)
docstrings
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 0a30186..9206695 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1430,7 +1430,8 @@ PARAMS is used to send 'local=true' for local timeline."
;; TODO
;; Look into the JSON returned here by Local
(defun mastodon-tl--updated-json (endpoint id &optional params)
- "Return JSON for timeline ENDPOINT since ID."
+ "Return JSON for timeline ENDPOINT since ID.
+PARAMS are any parameters to send with the request."
(let* ((args `(("since_id" . ,(mastodon-tl--as-string id))))
(args (if params (push params args) args))
(url (mastodon-http--api endpoint)))
@@ -2579,7 +2580,7 @@ For use after e.g. deleting a toot."
(concat url-base "&" param)))
(defun mastodon-tl--use-link-header-p ()
- "Return t if we are in a view that uses Link header pagination.
+ "Return t if we are in a view needing Link header pagination.
Currently this includes favourites, bookmarks, and profile pages
when showing followers or accounts followed."
(let ((buf (buffer-name (current-buffer)))