aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2023-08-27 22:39:45 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2023-08-29 15:33:55 -0400
commit3212f5dd0b5716e1bb4db60fb65bd950c08ec12a (patch)
treecee6416b5864b16392b42c9a10d912ecc3c85356 /lisp/mastodon-tl.el
parent3bb7635c3e9d8df3fa546a0009de2fe2ed5b7a53 (diff)
Simplify calls to `alist-get`
* lisp/mastodon-toot.el (mastodon-toot--set-toot-language): * lisp/mastodon-tl.el (mastodon-tl--read-rules-ids): * lisp/mastodon-profile.el (mastodon-profile--remove-from-followers-list): * lisp/mastodon-auth.el (mastodon-auth--access-token): * lisp/mastodon-views.el (mastodon-views--add-account-to-list) (mastodon-views--remove-account-from-list): Remove redundant optional arg to `alist-get` (`equal` is already the default).
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 1b53460..de26853 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -2207,7 +2207,7 @@ report the account for spam."
"rules [TAB for options, | to separate]: "
alist nil t)))
(mapcar (lambda (x)
- (alist-get x alist nil nil 'equal))
+ (alist-get x alist))
choices)))