]> code.delx.au - gnu-emacs-elpa/commitdiff
Fix avy-goto-subword-0
authorTassilo Horn <tsdh@gnu.org>
Thu, 7 May 2015 08:28:24 +0000 (10:28 +0200)
committerTassilo Horn <tsdh@gnu.org>
Thu, 7 May 2015 08:28:24 +0000 (10:28 +0200)
avy-goto-subword-0's regexp requires that case-fold-search is nil, so
let-bind it.

avy-jump.el

index f5963638e11ff95315635eb9ae5d30dcfbb79be9..2f8617b59ff87adfb030ca76b66ce11e53757667 100644 (file)
@@ -277,6 +277,7 @@ When ARG is non-nil, flip the window scope."
               (not avy-all-windows)
             avy-all-windows))
          (avy-keys (number-sequence ?a ?z))
+        (case-fold-search nil)
          (candidates (avy--regex-candidates
                       "\\(\\b\\sw\\)\\|\\(?:[^A-Z]\\([A-Z]\\)\\)")))
     (dolist (x candidates)