avy.el: Fix compilation warning

Fixes #134
This commit is contained in:
Oleh Krehel 2016-02-03 08:57:14 +01:00
parent 5f6dd00f5d
commit 730581ae87

6
avy.el
View File

@ -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