From 1350ab318ebcefd7422daa66db64302960529a5a Mon Sep 17 00:00:00 2001 From: Oleh Krehel Date: Tue, 2 Jun 2015 16:57:50 +0200 Subject: [PATCH] avy.el (avy-goto-char-in-line): Quote char Fixes #56 --- avy.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avy.el b/avy.el index 7d5e376..40e7882 100644 --- a/avy.el +++ b/avy.el @@ -692,7 +692,7 @@ The window scope is determined by `avy-all-windows' (ARG negates it)." (save-restriction (narrow-to-region (line-beginning-position) (line-end-position)) - (avy--regex-candidates (string char))) + (avy--regex-candidates (regexp-quote (string char)))) (avy--style-fn avy-style)))))) ;;;###autoload