From 1679216a14ba33ac7b5e16b9784d968da6bd63fe Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Tue, 29 Oct 2024 10:09:02 +0100 Subject: poll: choice add: uncomment max poll opts check --- lisp/mastodon-transient.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp') diff --git a/lisp/mastodon-transient.el b/lisp/mastodon-transient.el index 4d6fb2c..bb92f56 100644 --- a/lisp/mastodon-transient.el +++ b/lisp/mastodon-transient.el @@ -251,8 +251,8 @@ the format fields.X.keyname." (7 'seven) (8 'eight) (9 'nine)))) - (if (or ;(>= choice-count (mastodon-transient-max-poll-opts)) - (= choice-count 9)) + (if (or (>= choice-count (mastodon-transient-max-poll-opts)) + (= choice-count 9)) ;; FIXME when we hit '10', we get a binding clash with '1'. :/ (message "Max choices reached") (transient-append-suffix -- cgit v1.2.3