]> code.delx.au - gnu-emacs-elpa/commitdiff
counsel.el (counsel--async-filter): Fix up
authorOleh Krehel <ohwoeowho@gmail.com>
Tue, 12 Jan 2016 15:27:47 +0000 (16:27 +0100)
committerOleh Krehel <ohwoeowho@gmail.com>
Tue, 12 Jan 2016 15:27:47 +0000 (16:27 +0100)
counsel.el

index c99b80191b296827fb4cb7c9baad1fc83166a1fb..87ae97340eecff01d602927d564e4b32a43969d7 100644 (file)
@@ -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)))))