aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-10-04 08:13:06 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-10-04 08:13:06 +0200
commitdc69faaa1ba9de3c640291970f7fdf25329f5640 (patch)
tree8f709d11294758a9028e3154c1beffad3fbbc6eb /lisp
parent7d84df4f64042b7fec07e4e0daffced4ef1a2c81 (diff)
lambdas for choices lists
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-transient.el4
1 files changed, 2 insertions, 2 deletions
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")]