avy.el (avy-goto-word-1): Work for "^A"-"^Z"

Fixes #167
This commit is contained in:
Oleh Krehel
2016-08-03 15:35:19 +02:00
parent a5fb9369e7
commit a9119039ee

2
avy.el
View File

@@ -1063,6 +1063,8 @@ The window scope is determined by `avy-all-windows' (ARG negates it)."
(regex (cond ((string= str ".") (regex (cond ((string= str ".")
"\\.") "\\.")
((and avy-word-punc-regexp ((and avy-word-punc-regexp
(string-match avy-word-punc-regexp str))
(regexp-quote str))
((<= char 26) ((<= char 26)
str) str)
(t (t