branch: master commit 2135752ee76a96e90965969d96e1273fd4fd3ead Author: Oleh Krehel <ohwoeo...@gmail.com> Commit: Oleh Krehel <ohwoeo...@gmail.com>
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 every (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--insert-minibuffer (ivy--format ivy--all-candidates))) (setq counsel--async-time (current-time)))))