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."
char break overlays regex) char break overlays regex)
(unwind-protect (unwind-protect
(progn (progn
(while (and (not break) (while (and (not break)
(setq char
(read-char (format "%d char%s: " (read-char (format "%d char%s: "
(length overlays) (length overlays)
(if (string= str "") (if (string= str "")