branch: master
commit e5104ca41630a1879847e8a00282c76ba956bd34
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
avy.el (avy-goto-word-1): Quote punctuation
Fixes #63
---
avy.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/avy.el b/avy.el
index 51ab60a..74144e3 100644
--- a/avy.el
+++ b/avy.el
@@ -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"