Skip to content

Commit

Permalink
ivy.el (ivy-exit-with-action): Remove with-ivy-window
Browse files Browse the repository at this point in the history
Fixes #665
  • Loading branch information
abo-abo committed Sep 12, 2016
1 parent 9b13aa4 commit 3656dfe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ivy.el
Original file line number Diff line number Diff line change
Expand Up @@ -457,8 +457,7 @@ When non-nil, it should contain at least one %d.")
"Quit the minibuffer and call ACTION afterwards."
(ivy-set-action
`(lambda (x)
(with-ivy-window
(funcall ',action x))
(funcall ',action x)
(ivy-set-action ',(ivy-state-action ivy-last))))
(setq ivy-exit 'done)
(exit-minibuffer))
Expand Down

0 comments on commit 3656dfe

Please sign in to comment.