emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 8606a89 072/110: avy.el (avy--process): Remove redundant c


From: Oleh Krehel
Subject: [elpa] master 8606a89 072/110: avy.el (avy--process): Remove redundant copy-sequence
Date: Sat, 11 May 2019 10:15:47 -0400 (EDT)

branch: master
commit 8606a8984bd92561468d7416afc95564d6bc71cd
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]