Show number of matches so far in prompt

Fixes #253
This commit is contained in:
Jiangbin Zhao 2018-10-08 15:55:41 -07:00 committed by Oleh Krehel
parent c2e2a4a3f2
commit df4c4ac488

3
avy.el
View File

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