aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-toot.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mastodon-toot.el')
-rw-r--r--lisp/mastodon-toot.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index 82ad03b..7d2e467 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -1374,7 +1374,7 @@ LENGTH is the maximum character length allowed for a poll option."
collect (read-string
(format "Poll option [%s/%s] [max %s chars]: "
x count length))))
- (longest (cl-reduce #'max (mapcar #'length choices))))
+ (longest (apply #'max (mapcar #'length choices))))
(if (> longest length)
(progn
(message "looks like you went over the max length. Try again.")