branch: master commit 1350ab318ebcefd7422daa66db64302960529a5a Author: Oleh Krehel <ohwoeo...@gmail.com> Commit: Oleh Krehel <ohwoeo...@gmail.com>
avy.el (avy-goto-char-in-line): Quote char Fixes #56 --- avy.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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