mirror of
https://github.com/abo-abo/avy.git
synced 2025-10-13 05:23:05 +00:00
parent
2dde8b71a0
commit
bbf1e7339e
5
avy.el
5
avy.el
@ -388,7 +388,10 @@ SEQ-LEN is how many elements of KEYS it takes to identify a match."
|
|||||||
(nreverse path-alist)))
|
(nreverse path-alist)))
|
||||||
|
|
||||||
(defun avy-order-closest (x)
|
(defun avy-order-closest (x)
|
||||||
(abs (- (caar x) (point))))
|
(abs (- (if (numberp (car x))
|
||||||
|
(car x)
|
||||||
|
(caar x))
|
||||||
|
(point))))
|
||||||
|
|
||||||
(defvar avy-command nil
|
(defvar avy-command nil
|
||||||
"Store the current command symbol.
|
"Store the current command symbol.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user