branch: master
commit df4c4ac488ee59bc44f8658d9fcca0c86fb32c5c
Author: Jiangbin Zhao <jiangb...@radware.com>
Commit: Oleh Krehel <ohwoeo...@gmail.com>

    Show number of matches so far in prompt
    
    Fixes #253
---
 avy.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/avy.el b/avy.el
index fc21ac0..569b604 100644
--- a/avy.el
+++ b/avy.el
@@ -1906,7 +1906,8 @@ Otherwise, the whole regex is highlighted."
          (progn
            (while (and (not break)
                        (setq char
-                             (read-char (format "char%s: "
+                             (read-char (format "%d  char%s: "
+                                                (length overlays)
                                                 (if (string= str "")
                                                     str
                                                   (format " (%s)" str)))

Reply via email to