From 8606a8984bd92561468d7416afc95564d6bc71cd Mon Sep 17 00:00:00 2001 From: Oleh Krehel Date: Thu, 7 Jun 2018 18:14:38 +0200 Subject: [PATCH] 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