emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 1350ab3 08/24: avy.el (avy-goto-char-in-line): Quote char


From: Oleh Krehel
Subject: [elpa] master 1350ab3 08/24: avy.el (avy-goto-char-in-line): Quote char
Date: Thu, 25 Jun 2015 10:17:49 +0000

branch: master
commit 1350ab318ebcefd7422daa66db64302960529a5a
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]