[Top][All Lists]

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

[elpa] master 2135752 040/272: counsel.el (counsel--async-filter): Fix u

From: Oleh Krehel
Subject: [elpa] master 2135752 040/272: counsel.el (counsel--async-filter): Fix up
Date: Mon, 25 Apr 2016 10:13:15 +0000

branch: master
commit 2135752ee76a96e90965969d96e1273fd4fd3ead
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    counsel.el (counsel--async-filter): Fix up
 counsel.el |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/counsel.el b/counsel.el
index c99b801..87ae973 100644
--- a/counsel.el
+++ b/counsel.el
@@ -599,7 +599,9 @@ Update the minibuffer with the amount of lines collected 
         (setq size (- (buffer-size) (forward-line (buffer-size))))
         (setq ivy--all-candidates
               (split-string (buffer-string) "\n" t)))
-      (let ((ivy--prompt (format "%d++ ag:" size)))
+      (let ((ivy--prompt (format
+                          (concat "%d++ " (ivy-state-prompt ivy-last))
+                          size)))
          (ivy--format ivy--all-candidates)))
       (setq counsel--async-time (current-time)))))

reply via email to

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