emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 2ecbd7d 054/184: ivy.el (ivy-read-action-ivy): Show the se


From: Oleh Krehel
Subject: [elpa] master 2ecbd7d 054/184: ivy.el (ivy-read-action-ivy): Show the selected item in the prompt
Date: Wed, 16 Oct 2019 13:14:48 -0400 (EDT)

branch: master
commit 2ecbd7d442259708b8737a1eb7b057e9e3294aea
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    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))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]