branch: master
commit 0a18a45959b12964a0e29e1b5c50fd33b2d6e4eb
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
avy.el (avy--read-candidates): Fix reverse order
Re #100
---
avy.el | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/avy.el b/avy.el
index b1c9326..c78e0c8 100644
--- a/avy.el
+++ b/avy.el
@@ -1149,11 +1149,11 @@ This function obeys `avy-all-windows' setting."
(push ov overlays)
(overlay-put ov 'window (selected-window))
(overlay-put ov 'face
'avy-goto-char-timer-face))))))))))
- (mapcar (lambda (ov)
- (cons (cons (overlay-start ov)
- (overlay-end ov))
- (overlay-get ov 'window)))
- overlays))
+ (nreverse (mapcar (lambda (ov)
+ (cons (cons (overlay-start ov)
+ (overlay-end ov))
+ (overlay-get ov 'window)))
+ overlays)))
(dolist (ov overlays)
(delete-overlay ov)))))