]> code.delx.au - gnu-emacs-elpa/commit
ivy.el (ivy-index-functions-alist): New variable
authorOleh Krehel <ohwoeowho@gmail.com>
Thu, 8 Oct 2015 12:13:32 +0000 (14:13 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Thu, 8 Oct 2015 12:32:58 +0000 (14:32 +0200)
commitf9df75e708149dd843e3ccc1f52ce3cd1d1ffa90
tree76e97df020e2efbd5fef6f40dea5003cb9f5754c
parent3a3b052ed5f1293233f5275a2dc78aa61c2e0a77
ivy.el (ivy-index-functions-alist): New variable

* ivy.el (ivy-state): Add `caller' field.
(ivy-read): Add `caller' keyword arg; update docstring. Use
`ivy--recompute-index'.
(ivy--recompute-index): New defun, dispatch according to `caller' and
`ivy-index-functions-alist'.
(ivy-recompute-index-swiper): New defun.
(ivy-recompute-index-zero): New defun.

Fixes #253
counsel.el
ivy.el
swiper.el