[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/mastodon bfb17cdf91 10/50: docstrings tl.el
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/mastodon bfb17cdf91 10/50: docstrings tl.el |
Date: |
Sat, 2 Nov 2024 13:00:52 -0400 (EDT) |
branch: elpa/mastodon
commit bfb17cdf91845b4ba49c99d14d439a8c16003d53
Author: marty hiatt <martianhiatus@disroot.org>
Commit: marty hiatt <martianhiatus@disroot.org>
docstrings tl.el
---
lisp/mastodon-tl.el | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 4846164346..beb74f4167 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1796,7 +1796,8 @@ NO-BYLINE means just insert toot body, used for folding."
"Display each toot in TOOTS.
This function removes replies if user required.
THREAD means the status will be displayed in a thread view.
-When DOMAIN, force inclusion of user's domain in their handle."
+When DOMAIN, force inclusion of user's domain in their handle.
+NO-BYLINE means just insert toot body, used for folding."
(let ((start-pos (point))
(toots ;; hack to *not* filter replies on profiles:
(if (eq (mastodon-tl--get-buffer-type) 'profile-statuses)
@@ -3257,7 +3258,8 @@ favourites and bookmarks.
PARAMS is any parameters to send with the request.
HIDE-REPLIES is a flag indicating if replies are hidden in the current buffer.
INSTANCE is a string of another instance domain we are displaying
-a timeline from."
+a timeline from.
+NO-BYLINE means just insert toot body, used for announcements."
(let ((url (if instance
(concat "https://" instance "/api/v1/" endpoint)
(mastodon-http--api endpoint)))
@@ -3277,7 +3279,8 @@ a timeline from."
UPDATE-FUNCTION is used to recieve more toots.
RESPONSE is the data returned from the server by
`mastodon-http--process-json', with arg HEADERS a cons cell of
-JSON and http headers, without it just the JSON."
+JSON and http headers, without it just the JSON.
+NO-BYLINE means just insert toot body, used for announcements."
(let ((json (if headers (car response) response)))
(cond ((not json) ; praying this is right here, else try "\n[]"
;; this means that whatever tl was inited won't load, which is not
@@ -3349,7 +3352,8 @@ ENDPOINT-VERSION is a string, format Vx, e.g. V2."
(defun mastodon-tl--do-init (json update-fun &optional domain no-byline)
"Utility function for `mastodon-tl--init*' and `mastodon-tl--init-sync'.
JSON is the data to call UPDATE-FUN on.
-When DOMAIN, force inclusion of user's domain in their handle."
+When DOMAIN, force inclusion of user's domain in their handle.
+NO-BYLINE means just insert toot body, used for announcements."
(remove-overlays) ; video overlays
(cond (domain ;; maybe our update-fun doesn't always have 3 args...:
(funcall update-fun json nil domain))
- [nongnu] elpa/mastodon b47390993b 46/50: Merge branch 'poll-var' into develop, (continued)
- [nongnu] elpa/mastodon b47390993b 46/50: Merge branch 'poll-var' into develop, ELPA Syncer, 2024/11/02
- [nongnu] elpa/mastodon 94ea642a1a 38/50: notifs: improve byline docstrings for new byline logic, ELPA Syncer, 2024/11/02
- [nongnu] elpa/mastodon 071c33eed2 32/50: Merge branch 'develop' into non-group-notifs, ELPA Syncer, 2024/11/02
- [nongnu] elpa/mastodon babb3a1adf 28/50: fold-toot - respect CW state, ELPA Syncer, 2024/11/02
- [nongnu] elpa/mastodon 1606b34c5d 45/50: Merge branch 'read-less' into develop, ELPA Syncer, 2024/11/02
- [nongnu] elpa/mastodon 7623478121 48/50: bump, ELPA Syncer, 2024/11/02
- [nongnu] elpa/mastodon 7af46336f2 42/50: add read less button to unfolded long posts (read more). FIX #614, ELPA Syncer, 2024/11/02
- [nongnu] elpa/mastodon bf82092dde 44/50: autoload ht-get, ELPA Syncer, 2024/11/02
- [nongnu] elpa/mastodon 639745a885 04/50: move notifs customizes into mastodon.el, ELPA Syncer, 2024/11/02
- [nongnu] elpa/mastodon 0e75fc74ee 01/50: group-notifs custom (for servers without). #608. WIP., ELPA Syncer, 2024/11/02
- [nongnu] elpa/mastodon bfb17cdf91 10/50: docstrings tl.el,
ELPA Syncer <=
- [nongnu] elpa/mastodon f3602493da 03/50: fix notifs custom group, ELPA Syncer, 2024/11/02
- [nongnu] elpa/mastodon 8446f239bb 02/50: working v1 notifications custom. #608, ELPA Syncer, 2024/11/02
- [nongnu] elpa/mastodon b529690f96 06/50: notifs: refactor some v1/v2 calling code, mastodon-notifiations--body-arg, ELPA Syncer, 2024/11/02
- [nongnu] elpa/mastodon 14e3fa36cb 11/50: start on pagination for v1 notifs. #610, ELPA Syncer, 2024/11/02
- [nongnu] elpa/mastodon 4505b4e818 05/50: index, ELPA Syncer, 2024/11/02
- [nongnu] elpa/mastodon 1ba949586e 29/50: tl: improve ctrl flow in --spoiler + --toot. FIX #579, ELPA Syncer, 2024/11/02
- [nongnu] elpa/mastodon 5cb2bf1c04 16/50: FIX #610 fix note/base toot in format-note/author byline., ELPA Syncer, 2024/11/02
- [nongnu] elpa/mastodon b6676c180b 27/50: tl: improve ctrl flow in --spoiler + --toot, ELPA Syncer, 2024/11/02
- [nongnu] elpa/mastodon 089eee6485 15/50: notifs: fix author action byline, top, for ungrouped. FIX #612, ELPA Syncer, 2024/11/02
- [nongnu] elpa/mastodon d06ac674ef 19/50: docs: remove old arg docstring, ELPA Syncer, 2024/11/02