From dc69faaa1ba9de3c640291970f7fdf25329f5640 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Fri, 4 Oct 2024 08:13:06 +0200 Subject: lambdas for choices lists --- 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 05c3d13..4929a42 100644 --- a/lisp/mastodon-transient.el +++ b/lisp/mastodon-transient.el @@ -134,12 +134,12 @@ the inner key part." ("i" "indexable" "source.indexable=" :class tp-bool)] ["Tooting options" ("p" "default privacy" "source.privacy=" :class tp-option - :choices mastodon-toot-visibility-settings-list) + :choices (lambda () mastodon-toot-visibility-settings-list)) ;; ("public" "unlisted" "private")) ;; (lambda () mastodon-toot-visibility-settings-list)) ("s" "mark sensitive" "source.sensitive=" :class tp-bool) ("g" "default language" "source.language=" :class tp-option - :choices mastodon-iso-639-regional)] + :choices (lambda () mastodon-iso-639-regional))] ["Update" ("C-c C-c" "Save settings" mastodon-user-settings-update) ("C-c C-k" :info "Revert all changes")] -- cgit v1.2.3