]> code.delx.au - gnu-emacs-elpa/commit
Switch to using ivy-exit-with-action
authorOleh Krehel <ohwoeowho@gmail.com>
Wed, 18 Nov 2015 10:55:45 +0000 (11:55 +0100)
committerOleh Krehel <ohwoeowho@gmail.com>
Wed, 18 Nov 2015 11:08:57 +0000 (12:08 +0100)
commit8fdf210c2da544ee8d6b917c438011540e10b8bb
tree31adda30ad3755973f950858744221dba12d9de7
parentadac116cd79d26585263b90c4559fef8177c4a1c
Switch to using ivy-exit-with-action

* ivy.el (ivy-exit-with-action): Add a missing quote.
(ivy--cd-maybe): Use `ivy-exit-with-action'.

* counsel.el (counsel-find-symbol):
(counsel--info-lookup-symbol):
(counsel-git-grep-query-replace): Use `ivy-exit-with-action'.

* swiper.el (swiper-query-replace):
(swiper-mc): Use `ivy-exit-with-action'.

The previous approach was overwriting the action list, so when
`ivy-resume' was called, only a single action was present.  The new
approach doesn't have this bug.

So now it's possible to e.g. `counsel-describe-function' -> "M-o d" ->
`ivy-resume' -> "M-o o" -> `ivy-resume' -> "M-o i".
counsel.el
ivy.el
swiper.el