aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-05-29 15:56:31 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-05-30 10:18:07 +0200
commit9785650845b3f1d988b080ff14e166bbd390863e (patch)
treeaa786933829a3e7cc8ffebcd8f39abc0eaf45f47 /lisp/mastodon-tl.el
parent5b321820fa23fba187c8bb92c159e2c76eb1407e (diff)
docstring and index
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 3d33e86..67e13b6 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -2103,12 +2103,15 @@ desired language if they are not marked as such (or as anything)."
(mastodon-tl--follow-user user-handle nil langs))))
(defun mastodon-tl--unfilter-user-languages (user-handle)
- ""
+ "Remove any language filters for USER-HANDLE.
+This means you will receive posts of theirs marked as being in
+any or no language."
(interactive
(list (mastodon-tl--user-handles-get "filter by language")))
(let ((langs "languages[]"))
(mastodon-tl--do-if-item
- ;; we need ("languages[]") as a param, with no "="
+ ;; we need "languages[]" as a param, with no "=" and not json-encoded as
+ ;; a string
(mastodon-tl--follow-user user-handle nil langs nil :raw))))
(defun mastodon-tl--read-filter-langs (&optional langs)