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

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

[elpa] externals/ivy-explorer 3189fc5 02/25: Fix index bug


From: Stefan Monnier
Subject: [elpa] externals/ivy-explorer 3189fc5 02/25: Fix index bug
Date: Tue, 8 Jan 2019 12:25:53 -0500 (EST)

branch: externals/ivy-explorer
commit 3189fc5bf6419286efe6515010bcb604c2012fac
Author: Clemera <address@hidden>
Commit: Clemera <address@hidden>

    Fix index bug
---
 ivy-explorer.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ivy-explorer.el b/ivy-explorer.el
index cc612bc..74a2045 100644
--- a/ivy-explorer.el
+++ b/ivy-explorer.el
@@ -257,8 +257,7 @@ Even for the same string.")
              (avy--style-fn avy-style)))))
     (when (number-or-marker-p candidate)
       (ivy-set-index
-       (+ ivy--index
-          (get-text-property candidate 'ivy-explorer-count)))
+       (get-text-property candidate 'ivy-explorer-count))
       (run-at-time 0 nil (or action 'ivy-alt-done))))))
 
 ;; adapted from ivy-hydra



reply via email to

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