diff options
author | marty hiatt <martianhiatus@disroot.org> | 2024-10-27 16:26:53 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus@disroot.org> | 2024-10-27 19:26:48 +0100 |
commit | 0ae090a836327baeb29373457bf4a3b547635219 (patch) | |
tree | f4dfe209f7e3ebe4aeadeba3ed2c89ad3b809245 /lisp | |
parent | fb3c01eec51db79d5327ca8492c15477a1ed6963 (diff) |
widget: add keymap to subitems too!
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mastodon-widget.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mastodon-widget.el b/lisp/mastodon-widget.el index 0c6542a..a326800 100644 --- a/lisp/mastodon-widget.el +++ b/lisp/mastodon-widget.el @@ -50,7 +50,8 @@ Note that such modes will need to require wid-edit.") (defun mastodon-widget--return-item-widgets (list) "Return a list of item widgets for each item, a string, in LIST." (cl-loop for x in list - collect `(choice-item :value ,x :format "%[%v%] "))) + collect `(choice-item :value ,x :format "%[%v%] " + :keymap ,mastodon-widget-keymap))) (defun mastodon-widget--format (str &optional padding) "Return a widget format string for STR, its name. |