branch: master commit 2ecbd7d442259708b8737a1eb7b057e9e3294aea Author: Oleh Krehel <ohwoeo...@gmail.com> Commit: Oleh Krehel <ohwoeo...@gmail.com>
ivy.el (ivy-read-action-ivy): Show the selected item in the prompt --- ivy.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ivy.el b/ivy.el index 249a403..aba70d9 100644 --- a/ivy.el +++ b/ivy.el @@ -919,7 +919,7 @@ selection, non-nil otherwise." (if (and (> (minibuffer-depth) 1) (eq (ivy-state-caller ivy-last) 'ivy-read-action-ivy)) (minibuffer-keyboard-quit) - (ivy-read "action: " + (ivy-read (format "action (%s): " (ivy-state-current ivy-last)) (cl-mapcar (lambda (a i) (cons (format "[%s] %s" (nth 0 a) (nth 2 a)) i)) (cdr actions) (number-sequence 1 (length (cdr actions))))