]> code.delx.au - gnu-emacs-elpa/commit
Perform string-match in the original buffer
authorOleh Krehel <ohwoeowho@gmail.com>
Sun, 22 Nov 2015 12:59:27 +0000 (13:59 +0100)
committerOleh Krehel <ohwoeowho@gmail.com>
Sun, 22 Nov 2015 13:01:28 +0000 (14:01 +0100)
commitce6ab7ad5770636655d8b843a9859d591ce7b91c
tree1f0e3032a2bd59071fb41f7a559c25ccc3d889a1
parented2367b58587abaa1f97d4ccd94bd99c5abe9186
Perform string-match in the original buffer

* ivy.el (ivy--exhibit): Wrap in `with-current-buffer'
  `ivy-state-buffer'.
(ivy-recompute-index-swiper): Reset to the candidate at the current line
number, in case the previous regex resulted in 0 candidates.

Fixes #298
ivy.el