From 0ae090a836327baeb29373457bf4a3b547635219 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Sun, 27 Oct 2024 16:26:53 +0100 Subject: widget: add keymap to subitems too! --- lisp/mastodon-widget.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/mastodon-widget.el') 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. -- cgit v1.2.3