branch: master
commit 71644d9b410f659eabd2678b9df6b260e3f70bd6
Author: Oleh Krehel <ohwoeo...@gmail.com>
Commit: Oleh Krehel <ohwoeo...@gmail.com>

    ivy.el (ivy-read): Remove code that sets action index to 1
    
    Fixes #443
---
 ivy.el |    2 --
 1 file changed, 2 deletions(-)

diff --git a/ivy.el b/ivy.el
index fd8c81b..91c8076 100644
--- a/ivy.el
+++ b/ivy.el
@@ -1335,8 +1335,6 @@ customizations apply to the current completion session."
             (when recursive-ivy-last
               (ivy--reset-state (setq ivy-last recursive-ivy-last)))))
       (ivy-call)
-      (when (numberp (car-safe (ivy-state-action ivy-last)))
-        (setcar (ivy-state-action ivy-last) 1))
       (when (and recursive-ivy-last
                  ivy-recursive-restore)
         (ivy--reset-state (setq ivy-last recursive-ivy-last))))))

Reply via email to