From e5104ca41630a1879847e8a00282c76ba956bd34 Mon Sep 17 00:00:00 2001 From: Oleh Krehel Date: Mon, 15 Jun 2015 19:48:08 +0200 Subject: [PATCH] avy.el (avy-goto-word-1): Quote punctuation Fixes #63 --- avy.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"