branch: master commit 730581ae8720c255dd000ca6f0d44e1845de3f45 Author: Oleh Krehel <ohwoeo...@gmail.com> Commit: Oleh Krehel <ohwoeo...@gmail.com>
avy.el: Fix compilation warning Fixes #134 --- avy.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/avy.el b/avy.el index 78332c7..e9819d0 100644 --- a/avy.el +++ b/avy.el @@ -160,6 +160,9 @@ When nil, punctuation chars will not be matched. "List of modes to ignore when searching for candidates. Typically, these modes don't use the text representation.") +(defvar avy-ring (make-ring 20) + "Hold the window and point history.") + (defvar avy-translate-char-function #'identity "Function to translate user input key into another key. For example, to make SPC do the same as ?a, use @@ -1294,9 +1297,6 @@ The window scope is determined by `avy-all-windows' (ARG negates it)." (avy--read-candidates) (avy--style-fn avy-style))))) -(defvar avy-ring (make-ring 20) - "Hold the window and point history.") - (defun avy-push-mark () "Store the current point and window." (ring-insert avy-ring