mirror of
https://github.com/abo-abo/avy.git
synced 2025-10-13 13:33:03 +00:00
avy.el: Fix compiler warning
This commit is contained in:
parent
fd7b929719
commit
157486aeb1
8
avy.el
8
avy.el
@ -375,6 +375,10 @@ SEQ-LEN is how many elements of KEYS it takes to identify a match."
|
||||
(defun avy-order-closest (x)
|
||||
(abs (- (caar x) (point))))
|
||||
|
||||
(defvar avy-command nil
|
||||
"Store the current command symbol.
|
||||
E.g. 'avy-goto-line or 'avy-goto-char.")
|
||||
|
||||
(defun avy-tree (lst keys)
|
||||
"Coerce LST into a balanced tree.
|
||||
The degree of the tree is the length of KEYS.
|
||||
@ -622,10 +626,6 @@ multiple DISPLAY-FN invocations."
|
||||
Commands using `avy-with' macro can be resumed."
|
||||
(interactive))
|
||||
|
||||
(defvar avy-command nil
|
||||
"Store the current command symbol.
|
||||
E.g. 'avy-goto-line or 'avy-goto-char.")
|
||||
|
||||
(defmacro avy-with (command &rest body)
|
||||
"Set `avy-keys' according to COMMAND and execute BODY.
|
||||
Set `avy-style' according to COMMMAND as well."
|
||||
|
Loading…
x
Reference in New Issue
Block a user