From 847eea3f622796edfa7b7303144c4d9cca3488bb Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Mon, 8 May 2023 19:50:02 +0200 Subject: adjust format-poll-option --- lisp/mastodon-tl.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lisp/mastodon-tl.el') 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" -- cgit v1.2.3