avy.el (avy-goto-word-1): Quote punctuation

Fixes #63
This commit is contained in:
Oleh Krehel 2015-06-15 19:48:08 +02:00
parent 7b0ba80620
commit e5104ca416

2
avy.el
View File

@ -769,7 +769,7 @@ The window scope is determined by `avy-all-windows' (ARG negates it)."
"\\.")
((and avy-word-punc-regexp
(string-match avy-word-punc-regexp str))
str)
(regexp-quote str))
(t
(concat
"\\b"