]> code.delx.au - gnu-emacs-elpa/commit
Add ivy-state struct
authorOleh Krehel <ohwoeowho@gmail.com>
Fri, 1 May 2015 18:01:08 +0000 (20:01 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Fri, 1 May 2015 18:01:08 +0000 (20:01 +0200)
commit0353b9f080197fd278ff716c8990be7bbf452165
tree101679a3e5cfcb3c24aadec4a445516dda944ed4
parent5a2e0fd355fea83e3c172402b965a1aa826fcc0c
Add ivy-state struct

* ivy.el (ivy-state): New defstruct.
(ivy-last): A single global to store an `ivy-state' struct.
(ivy-require-match): Move into `ivy-last'.
(ivy-done): Update.
(ivy-resume): New defun. Initial draft, kind of works for swiper. Need
to add a callback of what to do with the result as an argument.
(ivy-read): Store all arguments into `ivy-last'.
(ivy-completing-read): Update doc.
ivy.el