branch: master
commit 8606a8984bd92561468d7416afc95564d6bc71cd
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
avy.el (avy--process): Remove redundant copy-sequence
Hopefully redundant:)
---
avy.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/avy.el b/avy.el
index 0735f78..8dd73e2 100644
--- a/avy.el
+++ b/avy.el
@@ -734,7 +734,6 @@ Use OVERLAY-FN to visualize the decision overlay."
(mapcar (lambda (x) (cons x (selected-window)))
candidates)))
(let ((len (length candidates))
- (cands (copy-sequence candidates))
res)
(if (= len 0)
(progn
@@ -758,7 +757,7 @@ Use OVERLAY-FN to visualize the decision overlay."
#'avy--remove-leading-chars)))))
(avy--done)))
(cond ((eq res 'restart)
- (avy--process cands overlay-fn))
+ (avy--process candidates overlay-fn))
;; ignore exit from `avy-handler-function'
((eq res 'exit))
(t