aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-05-08 19:50:02 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-05-08 19:50:02 +0200
commit847eea3f622796edfa7b7303144c4d9cca3488bb (patch)
treeab7d8e905d071c5df2b394eb11afeba7e5e1b248 /lisp/mastodon-tl.el
parenteaf9d3c8c57a4661f9ba1408c59d6902147a1d6e (diff)
adjust format-poll-option
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 0b87cc2..cfa872b 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1197,8 +1197,8 @@ To disable showing the stats, customize
;; POLLS
-(defun mastodon-tl--format-poll-option (option-counter longest-option)
- "Format a poll option. OPTION-COUNTER is just a counter.
+(defun mastodon-tl--format-poll-option (option option-counter longest-option)
+ "Format poll OPTION. OPTION-COUNTER is just a counter.
LONGEST-OPTION is the option whose length determines the formatting."
(format "%s: %s%s%s\n"
(setq option-counter (1+ option-counter))
@@ -1222,7 +1222,7 @@ LONGEST-OPTION is the option whose length determines the formatting."
(option-counter 0))
(concat "\nPoll: \n\n"
(mapconcat (lambda (option)
- (mastodon-tl--format-poll-option option-counter longest-option))
+ (mastodon-tl--format-poll-option option option-counter longest-option))
.options
"\n")
"\n"