diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-05-08 19:50:02 +0200 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-05-08 19:50:02 +0200 |
commit | 847eea3f622796edfa7b7303144c4d9cca3488bb (patch) | |
tree | ab7d8e905d071c5df2b394eb11afeba7e5e1b248 /lisp | |
parent | eaf9d3c8c57a4661f9ba1408c59d6902147a1d6e (diff) |
adjust format-poll-option
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mastodon-tl.el | 6 |
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" |