]> code.delx.au - gnu-emacs-elpa/blobdiff - ivy.el
ivy.el (ivy-read): Revert abf880f
[gnu-emacs-elpa] / ivy.el
diff --git a/ivy.el b/ivy.el
index b5b8f868281961383f1e13c4cfee824433d2c555..4f46ae451129f85f048b883ebb5cc083848d7524 100644 (file)
--- a/ivy.el
+++ b/ivy.el
@@ -1283,9 +1283,7 @@ customizations apply to the current completion session."
         (transformer-fn
          (plist-get ivy--display-transformers-list
                     (or caller (and (functionp collection)
-                                    collection))))
-        (original-action (and (consp action)
-                              (copy-sequence action))))
+                                    collection)))))
     (setq ivy-last
           (make-ivy-state
            :prompt prompt
@@ -1341,8 +1339,6 @@ customizations apply to the current completion session."
             (when recursive-ivy-last
               (ivy--reset-state (setq ivy-last recursive-ivy-last)))))
       (ivy-call)
-      (when original-action
-        (setf (ivy-state-action ivy-last) original-action))
       (when (and recursive-ivy-last
                  ivy-recursive-restore)
         (ivy--reset-state (setq ivy-last recursive-ivy-last))))))